Skip to content

Installation

Jan Skowronski edited this page Aug 22, 2019 · 2 revisions

Installation

Clone the repo

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.

Initalise the DB

npm run db_init

Test

npm test

Run

npm start

In dev mode:

npm run dev

Clone this wiki locally