Skip to content

Commit 65537ea

Browse files
authored
fix: using gunicorn for drf sync (#494)
1 parent 28ca0e3 commit 65537ea

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.circleci/setupAndTestWithFrontendWithDrfSync.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ cd supertokens-website
5050
git checkout $2
5151
cd ../project/tests/frontendIntegration/drf_sync
5252
export PYTHONPATH="${PYTHONPATH}:/root/project"
53-
python manage.py runserver 8080 &
53+
gunicorn mysite.wsgi --bind 0.0.0.0:8080 &
5454
pid=$!
55-
python manage.py runserver 8082 &
55+
gunicorn mysite.wsgi --bind 0.0.0.0:8082 &
5656
pid2=$!
5757
cd ../../../../supertokens-website/test/server
5858
npm i git+https://github.com:supertokens/supertokens-node.git#$3

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"django>=4",
5454
"django-stubs==1.9.0",
5555
"djangorestframework",
56+
"gunicorn==20.1.0",
5657
"uvicorn==0.18.2",
5758
"python-dotenv==0.19.2",
5859
]

0 commit comments

Comments
 (0)