mSorok / NPlsWeb

NaPLeS - Natural Product Likeness Scorer Web Application
https://naples.naturalproducts.net
MIT License
6 stars 3 forks source link

NP-likeness scorer - Web application

Author: Maria Sorokina, maria.sorokina@uni-jena.de

Last modified: 06.03.2020

NP-likeness scorer is a web application to compute natural-product-likeness for a given set of molecules. The computation of NP-likeness is based on

This README describes the steps on how to setup and run a local instance of the NP-likeness scorer web application.

Project tree

NPlsWeb
├── archive
├── docker-compose.yml
├── Dockerfile
├── molimg
├── mvnw
├── mvnw.cmd
├── mysql
├── NPlsWeb.iml
├── pom.xml
├── README
├── src
├── target
├── upload-dir
└── volume

Prior of running

nginx

The project is build to run with nginx as server and reverse-proxy on a Docker "nginx-network". For more details see for example here: https://medium.com/@francoisromain/host-multiple-websites-with-https-inside-docker-containers-on-a-single-server-18467484ab95

Project execution`

sudo docker-compose build
sudo docker-compose up -d
sudo docker exec -it mysql_npls bash
mysql -uroot -proot1234 NPLikenessDB < /mysqldata/NPLikenessDB.sql
exit

After this, the web application will run either on the URL you specified in the docker-compose.yml either on localhost:8090

Source code

The unarchived source code for this project is available at https://github.com/mSorok/NPlsWeb and can be recompiled as a maven project. Here can be