Your SlideShare is downloading. ×
Joomla! on Heroku
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Joomla! on Heroku

2,512
views

Published on

Published in: Technology

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,512
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
13
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Joomla! on HerokuPresentation “Joomla! on Heroku” - http://slideshare.net/yireoJisse Reitsma (jisse@yireo.com) - Twitter @yireo
  • 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. 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. 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. 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. 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. 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. 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