from sm import app, db


from sm.model import register, Model
from cloudmesh_client.db.model import DEFAULT, GROUP, KEY, RESERVATION


from cloudmesh_client.util import path_expand
filename = "sqlite://{}".format(path_expand("~/.cloudmesh/cloudmesh.db"))

print ('FFF', filename)

app.config['SQLALCHEMY_DATABASE_URI'] = filename


register((DEFAULT, GROUP, KEY, RESERVATION))

app.run()
9a5a51d8b5eb1b07c26cb7fa354742d8b697a2c8
<mask token>

<mask token>
print('FFF', filename)
<mask token>
register((DEFAULT, GROUP, KEY, RESERVATION))
app.run()

<mask token>
filename = 'sqlite://{}'.format(path_expand('~/.cloudmesh/cloudmesh.db'))
print('FFF', filename)
app.config['SQLALCHEMY_DATABASE_URI'] = filename
register((DEFAULT, GROUP, KEY, RESERVATION))
app.run()

from sm import app, db
from sm.model import register, Model
from cloudmesh_client.db.model import DEFAULT, GROUP, KEY, RESERVATION
from cloudmesh_client.util import path_expand
filename = 'sqlite://{}'.format(path_expand('~/.cloudmesh/cloudmesh.db'))
print('FFF', filename)
app.config['SQLALCHEMY_DATABASE_URI'] = filename
register((DEFAULT, GROUP, KEY, RESERVATION))
app.run()

from sm import app, db


from sm.model import register, Model
from cloudmesh_client.db.model import DEFAULT, GROUP, KEY, RESERVATION


from cloudmesh_client.util import path_expand
filename = "sqlite://{}".format(path_expand("~/.cloudmesh/cloudmesh.db"))

print ('FFF', filename)

app.config['SQLALCHEMY_DATABASE_URI'] = filename


register((DEFAULT, GROUP, KEY, RESERVATION))

app.run()