<s> from gunstar . app import Application <EOL> import os <EOL> PROJECT_PATH = os . path . dirname ( os . path . abspath ( __file__ ) ) <EOL> class ConfigSettings ( object ) : <EOL> TEMPLATE_PATH = os . path . join ( PROJECT_PATH , '<STR_LIT>' ) <EOL> SECRET_KEY = '<STR_LIT>' <EOL> STATIC_ROOT = os . path . join ( PROJECT_PATH , '<STR_LIT>' ) <EOL> STATIC_PATH = '<STR_LIT>' <EOL> routes = ( <EOL> ( '<STR_LIT:/>' , '<STR_LIT>' , '<STR_LIT:index>' ) , <EOL> ( '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ) , <EOL> ) <EOL> app = Application ( routes = routes , config = ConfigSettings ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> from wsgiref . simple_server import make_server <EOL> server = make_server ( '<STR_LIT:127.0.0.1>' , <NUM_LIT> , app ) <EOL> server . serve_forever ( ) </s>
