- Run
db/schema.sql
to create your database - Make sure to create a
.env
file and copy the contents of.env.example
into it. - In the
.env
file replace the ???? for SESSION_SECRET and set your db credentials in LOCALDB_URL it should look something like this
SESSION_SECRET=SomethingBesidesKeyboardCat
LOCALDB_URL=mysql://root:dbpassword@localhost:3306/Project2Dev
NOTE Do not check in your .env
file into source control, it is particular to your environment.
npm install
npm start
npm run watch
npm test
npm run lint
npm run fix