Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (21 sloc) 467 Bytes
# -*- encoding: utf-8 -*-
"""
Argon Dashboard - coded in Flask
Author : AppSeed App Generator
Design : Creative-Tim.com
License : MIT
Support : https://appseed.us/support
"""
# used by the static export
import click
from flask_frozen import Freezer
from app import app
from app import db
# define custom command
@app.cli.command()
def build():
freezer = Freezer(app)
freezer.freeze()
if __name__ == "__main__":
db.create_all()
app.run()
You can’t perform that action at this time.