Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 483 Bytes

README.md

File metadata and controls

44 lines (32 loc) · 483 Bytes

Sensor Wiki API

Install

Install requirements

yarn install

Copy env file

cp .env.example .env

Start PostgreSQL DB

docker-compose up 

If you want to load the Dump file:

Connect to PostgreSQL docker container

docker exec -it ID bash

Load Dump File

psql -U DB_USERNAME -d DB_NAME < dataDump.sql

If you dont want to load the dump file:

Migrate DB

npx prisma migrate dev

Start node application

npx nodemon