Joomla! on Heroku

4,030 views

Published on

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,030
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
17
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Joomla! on Heroku

  1. 1. Joomla! on HerokuPresentation “Joomla! on Heroku” - http://slideshare.net/yireoJisse Reitsma (jisse@yireo.com) - Twitter @yireo
  2. 2. Wha t is Heroku?Platform-as-a-Service for numerous languages (Ruby, Python, PHP)Integrated with Git for deploymentOnce learned, easy to setup and maintainCool add-ons (Redis, MongoDB, ElasticSearch, Sphinx, Papertrail, Mailgun,Mandrill, New Relic, etc) Presentation “Joomla! on Heroku” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  3. 3. SSH c onfigura tionGenerate a SSH public key:$ ssh-keygen -t dsaCopy SSH public key to Heroku account-settings Presentation “Joomla! on Heroku” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  4. 4. Install Heroku toolbe ltFollow Heroku instructions:https://toolbelt.heroku.com/CentOS Linux installation:$ yum install rubygem-heroku$ heroku login Presentation “Joomla! on Heroku” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  5. 5. GitHub repositoryCreate a GitHub repository (public or private)Clone it locally, add the GitHub upstream and create a Heroku branch:$ cd /YOUR/GITHUB/REPOS$ git clone git@github.com:USER/REPO.git$ cd REPO$ git remote add upstream git@github.com:USER/REPO.git$ git checkout -b heroku$ heroku create --stack cedar REPO Presentation “Joomla! on Heroku” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  6. 6. PHP testCreate an index.php file with phpinfo():$ cd /YOUR/GITHUB/REPOS/REPO$ echo <?php echo phpinfo(); > index.phpGit and push to Heroku:$ git add index.php$ git commit -m phpinfo() test$ git push heroku heroku:masterVisit site:http://REPO.herokuapp.com/ Presentation “Joomla! on Heroku” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  7. 7. A dd ing MySQLGet your own database: VPS with MySQL database and hole in firewall Amazon RDS or Amazon EC2Get a Heroku app-based database (billing verification needed) ClearDB MySQL (free upto 5Mb) Xeround MySQL (free upt 10Mb, 5 connections) Presentation “Joomla! on Heroku” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo
  8. 8. BuildpacksBuildpack gives support for specific programming language (binaries,configuration-files, wrapped in Heroku jail)Default buildstack “Cedar” offers basic PHP-support https://github.com/heroku/heroku-buildpack-php https://github.com/ryanbrainard/heroku-buildpack-phing https://github.com/andrewsg/heroku-buildpack-php-foundry$ heroku config:add BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-php Presentation “Joomla! on Heroku” - http://slideshare.net/yireo Jisse Reitsma (jisse@yireo.com) - Twitter @yireo

×