Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1.29 KB

File metadata and controls

48 lines (31 loc) · 1.29 KB

How To Deploy

Our software can be deployed on your own Linux server for a better performance. We have tested the deployment steps on CentOS 7.7.

STEP I

Update your system and install docker.

curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun

STEP II

Clone our repo and download extra data.

Put the downloaded files into the following directories.

mv ~/Download/db.sqlite3 Synthesis_Navigator-master/
mv ~/Download/Compound.csv Synthesis_Navigator-master/statics/data_download/
mv ~/Download/Enzyme.csv Synthesis_Navigator-master/statics/data_download/
mv ~/Download/Reaction.csv Synthesis_Navigator-master/statics/data_download/
mv ~/Download/SyntheticBay.db Synthesis_Navigator-master/statics/data_download/

STEP III

Build docker image.

cd Synthesis_Navigator-master/
docker build -t tongji_software/synthesis_navigator:1.0 .

STEP IV

Run the container.

docker run -it --rm -p 8000:8000 tongji_software/synthesis_navigator:1.0 

STEP V

Open http://127.0.0.1:8000/Home in your browser (Chrome is recommended).Enjoy:)

You can modify settings.py to suit your environment. Also, uwsgi.ini is provided for deployment in production environment to work together with web servers like Nginx.