Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Latest commit

 

History

History
30 lines (23 loc) · 523 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 523 Bytes

Instructions to start the server

Configure your environment
export SESSION_SECRET="Don't tell anyone."
export ENCRYPTION_SECRET="It's a secret"
export SENDGRID_FROM_EMAIL="Origin Protocol <[email protected]>"
export SENDGRID_API_KEY="<SendGrid key>"
export CLIENT_URL"=http://localhost:3000/#"
export DATABASE_URL="postgres://origin:origin@localhost/origin"

Setup

nvm install 10.15.3
yarn install

Run migration

yarn run migrate
Start the server
yarn run start