2020-06-04 16:40:52 +02:00
|
|
|
from oshipka import worker
|
|
|
|
|
|
|
|
from oshipka.persistance import populate_static, init_db
|
2020-03-23 14:59:11 +01:00
|
|
|
|
|
|
|
from populate import populate_db
|
|
|
|
from webapp.app import app
|
|
|
|
|
|
|
|
if init_db(app):
|
2020-06-04 16:40:52 +02:00
|
|
|
populate_static(app)
|
2020-03-23 14:59:11 +01:00
|
|
|
populate_db(app)
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
worker.main()
|