A comprehensive database of drug-drug(s)-effect relationships
To install
- cd to the directory where requirements.txt is located.
pip install -r requirements.txt
in your shell.
To run: python application.py
To run using Flask:
- cd to subdirectory /nsides and run
export FLASK_APP=nsides.py
- The application can with the comman
python -m flask run
nSides is served on an AWS EC2 instance using Nginx and uWSGI. For consistency, use the approach in the following blog post: http://vladikk.com/2013/09/12/serving-flask-with-nginx-on-ubuntu/
Caveats:
- If using virtualenv, you either have to have the virtualenv directory in the same location as the nsides.py application, or specify the location of the virtualenv using the
uWSGI -H
parameter.
Please see here
Please see here