-
Notifications
You must be signed in to change notification settings - Fork 1
Installation
Jan Skowronski edited this page Aug 22, 2019
·
2 revisions
Enter into its directory and npm init
Create a .env
file in the root with following variables (changed to actual you want to use)
DATABASE_URL=postgres://url
TEST_DB_URL=postgres://anotherurl
SECRET=very-secret-word-no-one
The databases url are actual local databases you have access (like your local ones), can be the same.
npm run db_init
npm test
npm start
In dev mode:
npm run dev