Skip to content

Commit

Permalink
Add wsgi capability
Browse files Browse the repository at this point in the history
Now Kipa can be run with gunicorn.
  • Loading branch information
ilesoft committed Dec 5, 2024
1 parent 74c1a1c commit 9a55b4c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
django==5.1
#mysql-python
# git+https://github.com/PyMySQL/[email protected]#egg=MySQLdb
gunicorn==23.0.0
7 changes: 7 additions & 0 deletions web/wsgi.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import os

from django.core.wsgi import get_wsgi_application

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")

application = get_wsgi_application()

0 comments on commit 9a55b4c

Please sign in to comment.