Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 641 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 641 Bytes

spip-api

Node backend for spip.

Instructions

// We only need to run npm install for eslint
npm install

// Build docker image
npm run build

// Run development stack
npm run dev

// Run test stack
npm run test

Docker notes

# build container
docker build --tag spip-api .

# run container, with custom port and config volume mount
# note that the container will only run if Mongo/R services are running as well
docker run -e PORT=3006 -v $(pwd)/config:/spip-api/config spip-api