- Install ruby 2.4.1
gem install bundlerbundle install
$ echo "RACK_ENV=development" >>.env
$ echo "PORT=3000" >> .env
rake db:createorrake db:setupgit remote add staging https://git.heroku.com/tightfit-staging.githttps://tightfit-staging.herokuapp.com/git remote add heroku https://git.heroku.com/tightfit.githttps://tightfit.herokuapp.com/
Always deploy to staging first!
You can deploy to staging with: git push staging
You can deploy to production with git push heroku
You can deploy specific branches with: git push staging [branchNameHere]:master
You can deploy specific branches with: git push heroku [branchNameHere]:master
After deploying you can run migrations with either:
heroku run rake db:migrate --remote staging or heroku run rake db:migrate --remote heroku
Scheduler for staging: scheduler-convex-47953 Scheduler for production: scheduler-globular-24494