-
Notifications
You must be signed in to change notification settings - Fork 1
heroku commands
Naoki Saruta edited this page Oct 21, 2018
·
10 revisions
These commands are required only once when you haven't set Heroku as a remote repository.
$ git remote add Heroku https://git.heroku.com/task-driver.git
$ git remote -v
If you have changed asset files, you should use the following command before you deploy to Heroku:
$ docker-compose run web rails assets:precompile RAILS_ENV=production
After you merged your changes into develop and master branches, push your changes to Heroku at master branch.
$ git push Heroku
$ Heroku run rails db:migrate #migration after changed database setting