DoorAdmin/imaginaerraum_door_admin/bin/launch_webadmin.py

12 lines
209 B
Python
Raw Normal View History

2021-03-15 21:51:51 +00:00
#!/usr/bin/env python3
from imaginaerraum_door_admin import create_app
2021-03-15 21:51:51 +00:00
def main():
app = create_app()
app.run(host='0.0.0.0', port=app.config.get('PORT', 80))
2021-03-15 21:51:51 +00:00
if __name__ == "__main__":
main()