]> ToastFreeware Gitweb - chrisu/seepark.git/blobdiff - web/README
Split select_sensordata and implement grouping.
[chrisu/seepark.git] / web / README
index aa14624ef39e10e4a1274f7c78d6f90265f6bfe6..d23bdc82d82c37384da96d355404831fed8eaae2 100644 (file)
@@ -1,12 +1,16 @@
-Needed packages: python3-flask python3-sqlalchemy python3-mysqldb
+Needed packages: (python3-flask python3-sqlalchemy) python3-mysqldb python3-flask-sqlalchemy
 
 Start with:
 FLASK_APP=seepark_web.py FLASK_DEBUG=1 SEEPARKINI=~/seewasser.ini flask run
 
-Go to:
-http://127.0.0.1:5000/
-
 Option:
 -h 0.0.0.0
-to listen on all interfaces
+at the end to listen on all interfaces, i.e.
+FLASK_APP=seepark_web.py FLASK_DEBUG=1 SEEPARKINI=~/seewasser.ini flask run -h 0.0.0.0
+(or :: instead of 0.0.0.0 for ipv4+ipv6)
 
+
+Go to:
+http://127.0.0.1:5000/
+or http://<ipaddress>:5000/
+if the app is running on a different machine