Skip to content

Commit 73d1f9d

Browse files
Merge pull request #17 from AI4Bharat/locust_test1
Locust based load testing integration
2 parents 67e91ea + cad6a6e commit 73d1f9d

File tree

5 files changed

+361
-133
lines changed

5 files changed

+361
-133
lines changed

backend/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ RUN apt-get update && apt-get install -y \
1515
gir1.2-glib-2.0 \
1616
build-essential \
1717
meson \
18-
cmake
18+
cmake \
19+
ffmpeg
1920

2021
COPY ./deploy/requirements.txt /usr/src/backend/requirements.txt
2122
RUN pip install --default-timeout=200 -r requirements.txt

backend/arena_backend/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
# SECURITY WARNING: don't run with debug turned on in production!
3232
DEBUG = True
3333

34-
ALLOWED_HOSTS = ['http://127.0.0.1:3000', 'localhost', '127.0.0.1', 'https://backend.dev.arena.ai4bharat.org', 'backend.dev.arena.ai4bharat.org', '98.70.28.77:443', "ai4bharat.github.io"]
34+
ALLOWED_HOSTS = ['http://127.0.0.1:3000','98.70.28.77', 'localhost', '127.0.0.1', 'https://backend.dev.arena.ai4bharat.org', 'backend.dev.arena.ai4bharat.org', '98.70.28.77:443', "ai4bharat.github.io"]
3535

3636
CSRF_TRUSTED_ORIGINS = [
3737
"https://backend.dev.arena.ai4bharat.org",

backend/deploy/requirements.txt

Lines changed: 131 additions & 128 deletions
Original file line numberDiff line numberDiff line change
@@ -1,128 +1,131 @@
1-
aiohappyeyeballs==2.6.1
2-
aiohttp==3.12.15
3-
aiosignal==1.4.0
4-
amqp==5.3.1
5-
annotated-types==0.7.0
6-
anyio==4.11.0
7-
asgiref==3.9.2
8-
attrs==25.3.0
9-
autobahn==24.4.2
10-
Automat==25.4.16
11-
billiard==4.2.2
12-
CacheControl==0.14.3
13-
cachetools==6.2.0
14-
celery==5.5.3
15-
certifi==2025.8.3
16-
cffi==2.0.0
17-
channels==4.3.1
18-
charset-normalizer==3.4.3
19-
click==8.3.0
20-
click-didyoumean==0.3.1
21-
click-plugins==1.1.1.2
22-
click-repl==0.3.0
23-
constantly==23.10.4
24-
cryptography==46.0.1
25-
daphne==4.2.1
26-
distlib==0.4.0
27-
distro==1.9.0
28-
Django==5.2.6
29-
django-cors-headers==4.9.0
30-
django-filter==25.1
31-
django-redis==6.0.0
32-
djangorestframework==3.16.1
33-
djangorestframework-simplejwt==5.2.2
34-
dotenv==0.9.9
35-
drf-yasg==1.21.11
36-
filelock==3.19.1
37-
frozenlist==1.7.0
38-
gcloud==0.18.3
39-
google-api-core==2.25.1
40-
google-auth==2.41.0
41-
google-cloud-core==2.4.3
42-
google-cloud-firestore==2.21.0
43-
google-cloud-storage==3.4.0
44-
google-crc32c==1.7.1
45-
google-resumable-media==2.7.2
46-
googleapis-common-protos==1.70.0
47-
grpcio==1.75.1
48-
grpcio-status==1.75.1
49-
gunicorn==21.2.0
50-
h11==0.16.0
51-
h2==4.3.0
52-
hpack==4.1.0
53-
httpcore==1.0.9
54-
httplib2==0.31.0
55-
httptools==0.6.4
56-
httpx==0.28.1
57-
hyperframe==6.1.0
58-
hyperlink==21.0.0
59-
idna==3.10
60-
incremental==24.7.2
61-
inflection==0.5.1
62-
jiter==0.11.0
63-
jwcrypto==1.5.6
64-
kombu==5.5.4
65-
Markdown==3.9
66-
msgpack==1.1.1
67-
multidict==6.6.4
68-
numpy==2.3.3
69-
oauth2client==4.1.3
70-
openai==2.1.0
71-
packaging==25.0
72-
pandas==2.3.3
73-
pipenv==2025.0.4
74-
platformdirs==4.4.0
75-
prompt_toolkit==3.0.52
76-
propcache==0.3.2
77-
proto-plus==1.26.1
78-
protobuf==6.32.1
79-
psycopg2==2.9.10
80-
psycopg2-binary==2.9.10
81-
pyasn1==0.6.1
82-
pyasn1_modules==0.4.2
83-
pycairo==1.28.0
84-
pycparser==2.23
85-
pycryptodome==3.23.0
86-
pydantic==2.11.9
87-
pydantic_core==2.33.2
88-
PyGObject==3.50.0
89-
PyJWT==2.4.0
90-
pyOpenSSL==25.3.0
91-
pyparsing==3.2.5
92-
Pyrebase4==4.8.0
93-
python-box==7.3.2
94-
python-dateutil==2.9.0.post0
95-
python-dotenv==1.1.1
96-
python-jwt==4.1.0
97-
pytz==2025.2
98-
PyYAML==6.0.3
99-
redis==6.4.0
100-
requests==2.32.5
101-
requests-toolbelt==0.10.1
102-
rsa==4.9.1
103-
scipy==1.16.2
104-
service-identity==24.2.0
105-
setuptools==80.9.0
106-
six==1.17.0
107-
sniffio==1.3.1
108-
sqlparse==0.5.3
109-
tqdm==4.67.1
110-
Twisted==25.5.0
111-
txaio==25.9.2
112-
typing==3.7.4.3
113-
typing-inspection==0.4.2
114-
typing_extensions==4.15.0
115-
tzdata==2025.2
116-
uritemplate==4.2.0
117-
urllib3==1.26.20
118-
uuid==1.30
119-
uvicorn==0.37.0
120-
uvloop==0.21.0
121-
vine==5.1.0
122-
virtualenv==20.34.0
123-
watchfiles==1.1.0
124-
wcwidth==0.2.14
125-
websockets==15.0.1
126-
wheel==0.45.1
127-
yarl==1.20.1
128-
zope.interface==8.0.1
1+
aiohappyeyeballs==2.6.1
2+
aiohttp==3.12.15
3+
aiosignal==1.4.0
4+
amqp==5.3.1
5+
annotated-types==0.7.0
6+
anyio==4.11.0
7+
asgiref==3.9.2
8+
attrs==25.3.0
9+
autobahn==24.4.2
10+
Automat==25.4.16
11+
billiard==4.2.2
12+
CacheControl==0.14.3
13+
cachetools==6.2.0
14+
celery==5.5.3
15+
certifi==2025.8.3
16+
cffi==2.0.0
17+
channels==4.3.1
18+
charset-normalizer==3.4.3
19+
click==8.3.0
20+
click-didyoumean==0.3.1
21+
click-plugins==1.1.1.2
22+
click-repl==0.3.0
23+
constantly==23.10.4
24+
cryptography==46.0.1
25+
daphne==4.2.1
26+
distlib==0.4.0
27+
distro==1.9.0
28+
Django==5.2.6
29+
django-cors-headers==4.9.0
30+
django-filter==25.1
31+
django-redis==6.0.0
32+
djangorestframework==3.16.1
33+
djangorestframework-simplejwt==5.2.2
34+
dotenv==0.9.9
35+
drf-yasg==1.21.11
36+
ffmpeg
37+
filelock==3.19.1
38+
frozenlist==1.7.0
39+
gcloud==0.18.3
40+
google-api-core==2.25.1
41+
google-auth==2.41.0
42+
google-cloud-core==2.4.3
43+
google-cloud-firestore==2.21.0
44+
google-cloud-storage==3.4.0
45+
google-crc32c==1.7.1
46+
google-resumable-media==2.7.2
47+
googleapis-common-protos==1.70.0
48+
grpcio==1.75.1
49+
grpcio-status==1.75.1
50+
gunicorn==21.2.0
51+
h11==0.16.0
52+
h2==4.3.0
53+
hpack==4.1.0
54+
httpcore==1.0.9
55+
httplib2==0.31.0
56+
httptools==0.6.4
57+
httpx==0.28.1
58+
hyperframe==6.1.0
59+
hyperlink==21.0.0
60+
idna==3.10
61+
incremental==24.7.2
62+
inflection==0.5.1
63+
jiter==0.11.0
64+
jwcrypto==1.5.6
65+
kombu==5.5.4
66+
Markdown==3.9
67+
msgpack==1.1.1
68+
multidict==6.6.4
69+
numpy==2.3.3
70+
oauth2client==4.1.3
71+
openai==2.1.0
72+
packaging==25.0
73+
pandas==2.3.3
74+
pipenv==2025.0.4
75+
platformdirs==4.4.0
76+
prompt_toolkit==3.0.52
77+
propcache==0.3.2
78+
proto-plus==1.26.1
79+
protobuf==6.32.1
80+
psycopg2==2.9.10
81+
psycopg2-binary==2.9.10
82+
pyasn1==0.6.1
83+
pyasn1_modules==0.4.2
84+
pycairo==1.28.0
85+
pycparser==2.23
86+
pycryptodome==3.23.0
87+
pydantic==2.11.9
88+
pydantic_core==2.33.2
89+
PyGObject==3.50.0
90+
PyJWT==2.4.0
91+
pyOpenSSL==25.3.0
92+
pyparsing==3.2.5
93+
Pyrebase4==4.8.0
94+
python-box==7.3.2
95+
python-dateutil==2.9.0.post0
96+
python-dotenv==1.1.1
97+
python-jwt==4.1.0
98+
pytz==2025.2
99+
PyYAML==6.0.3
100+
redis==6.4.0
101+
requests==2.32.5
102+
requests-toolbelt==0.10.1
103+
rsa==4.9.1
104+
scipy==1.16.2
105+
service-identity==24.2.0
106+
setuptools==80.9.0
107+
six==1.17.0
108+
sniffio==1.3.1
109+
sqlparse==0.5.3
110+
tqdm==4.67.1
111+
Twisted==25.5.0
112+
txaio==25.9.2
113+
typing==3.7.4.3
114+
typing-inspection==0.4.2
115+
typing_extensions==4.15.0
116+
tzdata==2025.2
117+
uritemplate==4.2.0
118+
urllib3==1.26.20
119+
uuid==1.30
120+
uvicorn==0.37.0
121+
uvloop==0.21.0
122+
vine==5.1.0
123+
virtualenv==20.34.0
124+
watchfiles==1.1.0
125+
wcwidth==0.2.14
126+
websockets==15.0.1
127+
wheel==0.45.1
128+
yarl==1.20.1
129+
zope.interface==8.0.1
130+
locust == 2.29.0
131+

0 commit comments

Comments
 (0)