mirror of
https://github.com/Fluffy-Bean/GameExpo23.git
synced 2025-05-19 09:44:52 +00:00
Add highscores server
This commit is contained in:
parent
b6dc53dfaa
commit
d7be76f435
9 changed files with 29 additions and 33 deletions
|
@ -1,14 +0,0 @@
|
|||
from flask import Flask
|
||||
from server.extensions import db, migrate, cache
|
||||
from server.views import blueprint
|
||||
|
||||
app = Flask(__name__)
|
||||
app.config.from_pyfile('config.py')
|
||||
|
||||
db.init_app(app)
|
||||
migrate.init_app(app, db)
|
||||
cache.init_app(app)
|
||||
|
||||
db.create_all(app=app)
|
||||
|
||||
app.register_blueprint(blueprint)
|
Loading…
Add table
Add a link
Reference in a new issue