Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 

README.md

Setup

Create .env file in root with

JWT_SECRET="a random string (i use a uuid)"
VAPID_CONTACT="mailto:youremail"
VAPID_PRIVATE_KEY="generate keys with"
VAPID_PUBLIC_KEY="npx web-push generate-vapid-keys"

Compile schema with npx prisma generate

Create database file with npx prisma --experimental migrate up

Customize the volume path in docker-compose.yml

Development

npm run watch:server npm run watch:client npm start

Production

docker-compose build && docker-compose up -d

You can’t perform that action at this time.