Skip to content

Instantly share code, notes, and snippets.

@dre3s
Last active January 12, 2016 18:04
Show Gist options
  • Save dre3s/9f72d62036b35f766a8d to your computer and use it in GitHub Desktop.
Save dre3s/9f72d62036b35f766a8d to your computer and use it in GitHub Desktop.
my.study.heroku.starting

#Deploy project Ruby on Rails on Heroku

Deploy first App on Heroku

download and install

$ wget -O- https://toolbelt.heroku.com/install-ubuntu.sh | sh

deploy your project

$ cd site_example
$ git init
$ heroku git:remote -a siteexample
$ git add .
$ git commit -m "make it better"
$ git push heroku master 
Create mysql db
$ heroku addons:create cleardb:ignite
$ heroku config | grep CLEARDB_DATABASE_URL
$ heroku config:set DATABASE_URL='mysql://bf703ef1e9109d:77d8...'
tutorial

http://www.sitepoint.com/heroku-your-first-staging-environment/

Semaphore-CI integrated with Heroku

tour https://semaphoreci.com/

Deploy https://semaphoreci.com/docs/deploying-to-heroku.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment