Index page lists titles of art in the "art" table.
[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
7 log = logging.getLogger(__name__)
8
9 def setup_app(command, conf, vars):
10 """Place any commands to setup floof here"""
11 load_environment(conf.global_conf, conf.local_conf)
12
13 # Create the tables if they don't already exist
14 meta.metadata.create_all(bind=meta.engine)