2018-06-25 18:29:57 +02:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# coding: utf-8
|
|
|
|
import bottle
|
|
|
|
|
2018-06-25 17:12:17 +02:00
|
|
|
from server import routes
|
|
|
|
from server.models import db, Report
|
2018-06-25 18:29:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
db.connect()
|
|
|
|
db.create_tables([Report])
|
|
|
|
bottle.run(host='0.0.0.0', port='8081')
|