1 """Setup the floof application"""
4 from floof
.config
.environment
import load_environment
5 from floof
.model
import meta
7 log
= logging
.getLogger(__name__
)
9 def setup_app(command
, conf
, vars):
10 """Place any commands to setup floof here"""
11 load_environment(conf
.global_conf
, conf
.local_conf
)
13 # Create the tables if they don't already exist
14 meta
.metadata
.create_all(bind
=meta
.engine
)