now scraping rooms from capmus mgmt

This commit is contained in:
Tobias Kurze
2019-08-13 15:29:37 +02:00
parent 48505b76ea
commit f70cbdc463
17 changed files with 364 additions and 61 deletions

View File

@@ -8,6 +8,8 @@ import ssl
from jinja2.exceptions import TemplateNotFound
from backend import app, db
from backend.models import pre_fill_table
from backend.tools.model_updater import update_recorder_models_database
def main():
@@ -28,8 +30,11 @@ def main():
except Exception as e:
logging.CRITICAL(e)
pre_fill_table()
update_recorder_models_database()
app.run(debug=True)
app.run(debug=True, host="0.0.0.0")
if __name__ == '__main__':