Skip to content

Latest commit

 

History

117 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tightfit

Setup

  1. Install ruby 2.4.1
  2. gem install bundler
  3. bundle install
$ echo "RACK_ENV=development" >>.env
$ echo "PORT=3000" >> .env
  1. rake db:create or rake db:setup
  2. git remote add staging https://git.heroku.com/tightfit-staging.git https://tightfit-staging.herokuapp.com/
  3. git remote add heroku https://git.heroku.com/tightfit.git https://tightfit.herokuapp.com/

Deployment

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

Heroku Info

Scheduler for staging: scheduler-convex-47953 Scheduler for production: scheduler-globular-24494

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages