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.
This commit is contained in:
13
roles/websites/darkchestofwonders.us/files/dcow.wsgi
Normal file
13
roles/websites/darkchestofwonders.us/files/dcow.wsgi
Normal file
@@ -0,0 +1,13 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user