Stevia server is a backend for user, file and job management, using web services developed in node and express.
In order to get it working you need the following dependencies installed and configured.
- SGE
- Mongo
- Node
To install Sun Grid Engine check our installation guide.
Please read mongodb installation tutorial: https://docs.mongodb.com/manual/installation/
To install node click here. Once installed, node and npm commands will be available
What is npm
? npm stands for node packaged modules is the node dependency manager.
Forever is a simple CLI tool for ensuring that a given script runs continuously. More info here.
sudo npm install -g forever
git clone [email protected]:babelomics/stevia-server.git
Go to repository directory and run:
npm install
Now all node dependencies should be installed.
Rename or copy the file config-example.json to config.json Rename or copy the file mail-example.json to mail.json
Configure according to your settings. Note that steviaDir must exists.
node server.js
Or by using forever with the shorthand scripts from bin directory
bin/start
To check if it is running use the following URL on a web browser
http://localhost:5555