This repository has been archived by the owner on Feb 13, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Chris Sinchok
committed
Mar 10, 2014
1 parent
794ae2d
commit 5b59939
Showing
3 changed files
with
30 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import os | ||
import os.path | ||
import sys | ||
|
||
# Add the project to the python path | ||
sys.path.insert(0, os.path.join(os.path.dirname(__file__), os.pardir)) | ||
sys.stdout = sys.stderr | ||
|
||
# Configure the application (Logan) | ||
from betty.server.utils.runner import configure | ||
configure() | ||
|
||
# Build the wsgi app | ||
import django.core.handlers.wsgi | ||
|
||
# Run WSGI handler for the application | ||
application = django.core.handlers.wsgi.WSGIHandler() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters