Le repo des sources pour le site web des JM2L
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

6 lines
245 B

  1. import sys
  2. sys.path.append("/srv/.venv_jm2l/lib/python3.7/site-packages")
  3. ini_path = "/srv/jm2l.linux-azur.org/jm2l/production.ini"
  4. from pyramid.paster import get_app, setup_logging
  5. setup_logging(ini_path)
  6. application = get_app(ini_path, 'main')