<reponame>justincredble/Circulation<gh_stars>0
# -*- coding: utf-8 -*-

from app import app, db
from app.models import User, Role

app_ctx = app.app_context()
app_ctx.push()
db.create_all()
Role.insert_roles()

admin = User(name=u'root', email='<EMAIL>', password='password')

db.session.add(admin)
db.session.commit()

app_ctx.pop()

# -*- coding: utf-8 -*-

from app import app, db
from app.models import User, Role

app_ctx = app.app_context()
app_ctx.push()
db.create_all()
Role.insert_roles()

admin = User(name=u'root', email='<EMAIL>', password='password')

db.session.add(admin)
db.session.commit()

app_ctx.pop()
# -*- coding: utf-8 -*-