ryshcate /

# -*- coding: utf-8 -*-
This is a launcher script for Ryshcate.

:copyright: 2010 Matthew "LeafStorm" Frazier
:license:   MIT/X11, see LICENSE for details
import os
import sys
from ryshcate import create_app

if len(sys.argv) > 1:
    config_file = sys.argv[1]
    config_file = os.environ.get('RYSHCATE_CONFIG')

if config_file is None:
    print "Warning: No configuration provided."
    print "You can provide a config file on the command line or in the "
    print "RYSHCATE_CONFIG environment variable."
    print "The app will run, but using the settings in ryshcate.defaults."

app = create_app(config_file)'RYSHCATE_DEBUG', True))