]> git.gir.st - subscriptionfeed.git/blob - app/__main__.py
name main app 'app' again
[subscriptionfeed.git] / app / __main__.py
1 #!/bin/sh
2 ''':'
3 . "`dirname "$0"`/../venv/bin/activate"
4 export YT_CONFIG=/opt/yt/config/config.ini
5
6 cd `dirname "$0"`/..
7 exec python3 -m app
8 #exec python3 "$0" "$@"
9 ':'''
10 from . import app
11
12 if __name__ == '__main__':
13 app.run(debug=True, port=8000, host="0.0.0.0")
Imprint / Impressum