Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
Make ready for usage with wsgi
Browse files Browse the repository at this point in the history
  • Loading branch information
klieret committed Mar 27, 2020
1 parent cab5a44 commit c279538
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions __init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Do not delete me. Important together with wsgi script
7 changes: 7 additions & 0 deletions codenames.wsgi
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env python3

import sys
sys.path.insert(0, '/var/www/wsgi-scripts/codenames/')

from main import app as application
application.root_path = '/var/www/wsgi-scripts/codenames/'

0 comments on commit c279538

Please sign in to comment.