Please refer to https://www.anaconda.com/
.
You can follow our unofficial Anaconda installations for Dummies for a test installation.
However, it is highly recommended to refer to official websites.
Logout & login to load installations.
$ conda create --name chem-dl-ir python=3.7
$ source activate chem-dl-ir
$ conda install -c rdkit rdkit=2020.09.1.0
$ sudo apt-get install gcc libxrender1 libxext-dev pkg-config
$ git clone https://github.com/JasonYCHuang/chem-dl-ir.git
$ cd ~/chem-dl-ir
$ pip install -r requirements.txt --ignore-installed
Go to the project folder.
$ cd ~/chem-dl-ir
Using only "one" of following commands.
$ gunicorn -w 1 -t 600 -b 0.0.0.0:3008 server:app --daemon
$ export FLASK_APP=chem_ir && export FLASK_ENV=development && python -m flask run --eager-loading --host=0.0.0.0 --port=3008
You should receive pong
when executing the following command from another machine.
$ curl xxx.xxx.xxx.xxx:3008/ping