Skip to content

Datamonkey - Run state-of-the-art statistical models through the comfort of your browser

License

Notifications You must be signed in to change notification settings

stephenshank/datamonkey-js

 
 

Repository files navigation

datamonkey-js

INSTALL

System Dependencies

  • node >= 14
  • mongodb-server
  • redis

On OSX, this can be done with Homebrew as follows:

brew install npm
brew install mongodb
brew install redis

You'll also have to set a data directory for MongoDB, as described here. For example, on OSX or Linux, you can set up a data directory in the home directory as follows:

mkdir -p ~/data/db

Check out datamonkey-js

git clone [email protected]:veg/datamonkey-js.git

This requires an SSH key for GitHub, as described here.

Install development tools

npm install -g supervisor

Install package

cd ./datamonkey-js/
make install

Configure

cp ./config/setup.js.tpl ./config/setup.js

The settings within ./config/setup.js will have to be changed to reflect the local environment.

Run

Start Redis

redis-server

Start MongoDB (e.g. using the data directory in HOME)

mongod --dbpath ~/data/db

Start datamonkey.js

node server.js

Datamonkey should now be running at localhost:4002.

About

Datamonkey - Run state-of-the-art statistical models through the comfort of your browser

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 73.2%
  • HyPhy 12.1%
  • EJS 10.7%
  • SCSS 1.8%
  • Less 1.0%
  • CSS 0.9%
  • Other 0.3%