Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 1.54 KB

README.md

File metadata and controls

45 lines (35 loc) · 1.54 KB

LODEdo

LODedo is a Python 3 web application built in Flask. This is an ongoing project which has been developed by Bruno Sartini and Valentina Pasqual

LOCAL SETUP (Quick start)

The project works with this requirement:

The project already has the following components installed:

  • [GraphDB standalone server]
  • [GraphDB parser of Conjectures strong form] - Stil under development (code from v1.0 will be released soon)

Before running the webapp follow this instructions.

sh setup.sh
  • Run GrapDB standalone server in background by navigating to graphDB/graphdb-10.3.2/bin and run graphdb.cmd

  • Setup a GraphDB enviroment, repository and upload data by running backend-setup.py

python backend-setup.py
  • Run the web-app
python app.py

DEPLOYMENT

# start nginx
service nginx start

# start graphDB instance
cd /project/lodedo/graphDB/graphdb-10.3.2/bin/ ; /usr/bin/nohup graphdb

# start gunicorn
cd /project/lodedo/ ; /usr/bin/nohup gunicorn -w 4 -b 0.0.0.0:8080 app:app