graceshopper-pikachu-pack / graceshopper-project

MIT License
2 stars 1 forks source link

Grace Shopper Project

Team

Our Shop

Now that you've got the code, follow these steps to get acclimated:

createdb <YOUR APP NAME HERE FROM package.json>
createdb <YOUR APP NAME HERE FROM package.json>-test

Start

Sync and seed your database by running npm run seed. Running npm run start:dev will make great things happen!

Heroku

  1. Set up the Heroku command line tools
  2. heroku login
  3. Add a git remote for heroku:

Database Setup

  1. heroku addons:create heroku-postgresql:hobby-dev to add ("provision") a postgres database to your heroku dyno (This creates your production database)

  2. heroku config:set SEED=true to get heroku to sync and seed your database

  3. note everytime your app restarts, the database tables will be dropped and re-created. To avoid this you can config:unset SEED

Now, you should be deployed!