Skip to content

hurwitzlab/b2_web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

B2 Drought Web Interface

  • Backend: Node/JS, Mongo
  • Frontend: Elm

Mongo

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

Backend

$ cd backend
$ npm install
$ DEBUG=backend:* npm start

Author

Ken Youens-Clark [email protected]

About

B2 Web Interface (back/frontend)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published