Set the following environment variables:
IP
- Set this to localhost:127.0.0.1
.PORT
- Set this to whatever port you want.MONGO_URI
- Set this to the URI for your local MongoDB:mongodb://localhost/whatever
- Change into the app directory:
cd app
- Install dependencies:
npm install
- Run the app:
node keystone.js
Environment variables are already set in the docker-compose.yml
.
- Run the app:
docker-compose up