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
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.
- Clone this repository using the URL https://github.com/lodedo/web-app.git or download the folder.
- Packages can be installed by running setup.sh:
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
- Open the application in your browser: http://localhost:8000/
# 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