1 """Setup the BlueChips application"""
4 from bluechips.config.environment import load_environment
6 log = logging.getLogger(__name__)
8 def setup_app(command, conf, vars):
9 """Place any commands to setup bluechips here"""
10 load_environment(conf.global_conf, conf.local_conf)
13 from bluechips.model import meta
14 meta.metadata.bind = meta.engine
16 # Create the tables if they aren't there already
17 meta.metadata.create_all(checkfirst=True)