Setting Up Heroku

Here are the steps to push a rails project to Heroku

  1. Install Heroku
1
gem install heroku

2. Create a heroku login with email and password

1
heroku Create

3) Change the name of the app

1
heroku apps:rename demo-app

devcenter rename link

4) Push the file to heroku

1
git push heroku master

devcenter git link

5) Check the database

1
heroku run rake db:version

devcenter rake link

7) Perform a db migrate

1
heroku run rake --trace db:migrate

8) Console:

1
heroku run console

Further reading:

devcenter link

Any questions on this, please feel free to ask. We’re here to help…

Comments

Comments