Skip to content

itheark/codeigniter2-heroku

 
 

Repository files navigation

codeigniter2-heroku

This is a template project for deploying codeigniter 2.x to heroku in just a few steps.

Before start, make sure that you have git, composer, Heroku Toolbelt and of course php and apache installed on your system. For more information visit the the oficial docs at: https://devcenter.heroku.com/articles/getting-started-with-php follow the Introduction and Set up sections

Deploy codeigniter 2.x to heroku

  • Clone this project:
$ git clone https://github.com/carloscarcamo/codeigniter2-heroku.git && cd codeigniter2-heroku
  • Create your app on heroku:
$ heroku create <app-name>
  • Now deploy your code:
 $ git push heroku master
  • Make sure your app is running
$ heroku ps:scale web=1
  • Lastly open your website:
$ heroku open

That's all! you should have a running app on heroku :)

Note: I've removed the user_guide folder from the original Codeigniter package, but if you need it you can find it on the original repo: https://github.com/bcit-ci/CodeIgniter/tree/2.2-stable

About

A codeigniter 2 template ready to deploy to heroku

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PHP 99.7%
  • Other 0.3%