16 lines
455 B
Python
16 lines
455 B
Python
#!/usr/bin/python3
|
|||
|
|
|
||
|
|
import sys
|
||
|
|
sys.path.insert(0, '/usr/share/projects/wsgi_apps/meteoo')
|
||
|
|
|
||
|
|
from meteoo import app as application
|
||
|
|
|
||
|
|
# to add this Flas, python3 application to apache, you need to install the following
|
||
|
|
# sudo apt-get install python3-flask
|
||
|
|
# sudo apt-get install python3-pip
|
||
|
|
# sudo pip3 install twython
|
||
|
|
#
|
||
|
|
# sudo mkdir /var/dashboard2015
|
||
|
|
# sudo chown www-data /var/dashboard2015
|
||
|
|
# sudo apt-get install libapache2-mod-wsgi-py3
|