/popstream

Primary LanguageJavaScriptOtherNOASSERTION

Build Setup

# install dependencies
npm install

# redis and cluster are used by ws at localhost:6379 (only production)
docker run --name redis -p 127.0.0.1:6379:6379 -d redis:alpine

# postgres at localhost:5432 (only production)
docker run --name postgres -p 127.0.0.1:5432:5432 -e POSTGRES_USER=popstream -e POSTGRES_PASSWORD=mysecretpassword -e POSTGRES_DB=popstream -d postgres:alpine

# serve at localhost:1337
npm start