Joomla! on Heroku
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Joomla! on Heroku

on

  • 3,310 views

 

Statistics

Views

Total Views
3,310
Views on SlideShare
3,306
Embed Views
4

Actions

Likes
2
Downloads
13
Comments
0

1 Embed 4

https://twitter.com 4

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Joomla! on Heroku Presentation 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