source: OpenWorkouts-current/etc/staging.wsgi

current
Last change on this file was 5934220, checked in by Borja Lopez <borja@…>, 4 years ago

(#47) - Added needed config files and helper scripts for the deploy to staging

  • Property mode set to 100644
File size: 316 bytes
Line 
1import os
2os.environ['CHAMELEON_CACHE'] = '/home/staging/tmp/chameleon'
3os.environ['PYTHON_EGG_CACHE'] = '/home/staging/tmp/egg_cache'
4
5from pyramid.paster import get_app, setup_logging
6ini_path = '/home/staging/repos/OpenWorkouts-current/staging.ini'
7setup_logging(ini_path)
8application = get_app(ini_path, 'main')
Note: See TracBrowser for help on using the repository browser.