with Jessy, Mon, Art and Joe
Find our site on Heroku here
*HEADS UP!!!! WE HAVE NO ERROR HANDLING ON OUR LOG IN FORM SO IF YOU ENTER AN INCORRECT PASSWORD OR USERNAME YOU WILL CRASH THE HEROKU SERVER!!! YOU HAVE BEEN WARNED!!!
-
Clone the project and run
npm install
-
Create a
config.env
file in the root of the directory -
Set up a local database on your machine and add the
DB_URL
to theconfig.env
file in the format:
DB_URL = postgres://username:password@localhost:5432/databaseName
-
Alter the database to make your user role the owner
-
Be sure to grant all permissions on the database/tables to the user role you are using
-
Run this code from the command line to build the database:
node db/db_build.js
- Enter a secret in the config file in the following format:
SECRET = 'your-super-secret-secret'
- To get things crack-a-lack-in run:
npm run dev
- Profit ???