Files
configpolicy/roles/websites/darkchestofwonders.us/files/dcow.wsgi
Dustin C. Hatch 33ee3bf08d websites: Add role for darkchestofwonders.us
The *websites/darkchestofwonders.us* role prepares a machine to host
http://darkchestofwonders.us/. The website itself is published via rsync
by Jenkins.
2018-07-29 09:34:41 -05:00

14 lines
233 B
Python

import os
import sys
here = os.path.dirname(__file__)
srcdir = os.path.join(here, 'src')
sys.path.insert(0, srcdir)
import dcow.app
config = os.path.join(here, 'production.ini')
application = dcow.app.Application.create(config)