How to Deploy Your Project to Heroku ?
Deploy to Heroku
You have a rails application, and finished your application want to deploy with Heroku
, HOW ?
You should open your rails application, and in your application find Gemfile
. Open Gemfile write this command
1
|
|
in your terminal
1
|
|
Come again to Gemfile
, instead of
1
|
|
write
1 2 3 4 5 6 |
|
in terminal
1
|
|
Then go to Heroku, you should create a free account on heroku. When you create account you can see download toolbet
button,
you can run this in your computer. Open your terminal and write
1
|
|
When you write this command, heroku want to your heroku account information, entered this
1 2 3 4 5 6 7 |
|
After login, you should run with order
1 2 3 |
|
When you heroku create
you should see like
1 2 3 |
|
then
1
|
|
If you want to see in our browser you should use
1
|
|
That’s all.
I hope helped to you.