interactive-mining/interactive-mining-backend/madoap/src
sosguns2002 ed9faef7c8 Angular4 frontend added 2018-02-28 13:30:50 +02:00
..
.idea Angular4 frontend added 2018-02-28 13:30:50 +02:00
etc/init.d Angular4 frontend added 2018-02-28 13:30:50 +02:00
static Angular4 frontend added 2018-02-28 13:30:50 +02:00
templates Angular4 frontend added 2018-02-28 13:30:50 +02:00
tornado Angular4 frontend added 2018-02-28 13:30:50 +02:00
tornado_addons Angular4 frontend added 2018-02-28 13:30:50 +02:00
README Angular4 frontend added 2018-02-28 13:30:50 +02:00
madapps.py Angular4 frontend added 2018-02-28 13:30:50 +02:00
madserver.py Angular4 frontend added 2018-02-28 13:30:50 +02:00
madserverssl.py Angular4 frontend added 2018-02-28 13:30:50 +02:00
madserverv2.py Angular4 frontend added 2018-02-28 13:30:50 +02:00
madserverv3.py Angular4 frontend added 2018-02-28 13:30:50 +02:00
settings.py Angular4 frontend added 2018-02-28 13:30:50 +02:00

README

First edit settings.py to set the web server port and the paths of madis and DB.

To start the stats server use:

python madserver.py

You'll find a service script (put it into /etc/init.d), for starting and stopping
the stats server. The script maps port 80->8080 (comment the iptables rules out if you don't
want the mapping), and starts the service without giving it root credentials.