veg / datamonkey-js

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

Home Page:http://datamonkey.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 git@github.com: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

http://datamonkey.org

License:Other


Languages

Language:JavaScript 74.1%Language:HyPhy 12.0%Language:EJS 10.0%Language:SCSS 1.8%Language:Less 1.0%Language:CSS 0.9%Language:Hack 0.2%Language:Smarty 0.1%Language:Makefile 0.0%