Our software can be deployed on your own Linux server for a better performance. We have tested the deployment steps on CentOS 7.7.
Update your system and install docker.
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
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/
Build docker image.
cd Synthesis_Navigator-master/
docker build -t tongji_software/synthesis_navigator:1.0 .
Run the container.
docker run -it --rm -p 8000:8000 tongji_software/synthesis_navigator:1.0
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.