- Backend: Node/JS, Mongo
- Frontend: Elm
Mongo per https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/:
$ brew tap mongodb/brew
$ brew install [email protected]
$ mongod --config /usr/local/etc/mongod.conf (foreground)
or
$ brew services start [email protected] (background)
$ mongo b2
Export collections on lytic:
$ for coll in experiment specimen; do mongoexport --db b2_project --collection $coll --out b2_${coll}.json; done
$ tar cvzf b2.tgz b2_*.json
Import locally:
$ for coll in experiment specimen; do mongoimport --db b2_project --collection $coll b2_${coll}.json; done
$ cd backend
$ npm install
$ DEBUG=backend:* npm start
Ken Youens-Clark [email protected]