Child: [ddf08c] (diff)

Download this file

__init__.py    20 lines (13 with data), 467 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
# -*- coding: utf-8 -*-
"""Setup the allura application"""
import logging
from allura.config.environment import load_environment
__all__ = ['setup_app']
log = logging.getLogger(__name__)
from schema import setup_schema
import bootstrap
def setup_app(command, conf, vars):
"""Place any commands to setup allura here"""
load_environment(conf.global_conf, conf.local_conf)
setup_schema(command, conf, vars)
bootstrap.bootstrap(command, conf, vars)