npm install
npm start
# to see more debug output set the DEBUG flag:
DEBUG=true npm start
To install MongoDB on Mac and have it run as a background service:
brew install mongodb
brew services start mongodb
or on Linux:
sudo apt-get install -y mongodb-org
sudo service mongod start
Note that the service will restart when you log in. To quit the service:
brew services stop mongodb
or on Linux:
sudo service mongod stop
For the time being, a signed in user has full control of the system. Users are not created in the app. Instead we create them with a script which has access to the database. In time this will change, of course.
node bin/create-user.js [email] [password]
node bin/update-password.js [email] [password]