Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit e474c68

Browse files
committed
Update the Django version to 4.2.3
1 parent 2adec2d commit e474c68

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ __pycache__/
44
staticfiles/
55
profile/
66
*.log
7+
*.pid

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,13 @@ createuser -s postgres
4141

4242
### Start the service
4343
```bash
44-
python manage.py runserver 0.0.0.0:5000
44+
gunicorn -c config/gunicorn/dev.py
45+
```
46+
47+
### Kill the service
48+
If you started the process in daemon mode, you can get the pid in the `.pid` file under `config/gunicorn`. Then run:
49+
```bash
50+
kill -9 <pid>
4551
```
4652

4753
## Build Docker Image

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
asgiref==3.7.2
2-
Django==4.2.2
2+
django>=4.2.3
33
django-cors-headers==4.0.0
44
djangorestframework==3.14.0
55
psycopg2-binary==2.9.6

0 commit comments

Comments
 (0)