Switch over to Elixir
[zzz-floof.git] / floof / websetup.py
1 """Setup the floof application"""
2 import logging
3
4 from floof.config.environment import load_environment
5 from floof.model import meta
6 import elixir
7
8 log = logging.getLogger(__name__)
9
10 def setup_app(command, conf, vars):
11 """Place any commands to setup floof here"""
12 load_environment(conf.global_conf, conf.local_conf)
13
14 # Create the tables if they don't already exist
15 elixir.create_all(bind=meta.engine, checkfirst=False)