14 lines
268 B
Python
14 lines
268 B
Python
from config import TEMPLATES_FOLDER
|
|
from oshipka import init_db
|
|
|
|
from populate import populate_db
|
|
from webapp.app import app
|
|
|
|
if __name__ == "__main__":
|
|
if init_db(app):
|
|
populate_db(app)
|
|
|
|
app.template_folder = TEMPLATES_FOLDER
|
|
|
|
app.run(debug=True)
|