File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ Install docker from [here](https://docs.docker.com/engine/install/).
39
39
## Setup Redis
40
40
41
41
```
42
- docker run -p 6379:6379 -d redis:5
42
+ sudo docker run -p 6379:6379 -d redis:5
43
43
```
44
44
45
45
## Build Virtual Environment
@@ -58,20 +58,20 @@ pip install -r requirements.txt
58
58
## Migrate Models
59
59
60
60
```
61
- python manage.py makemigrations chat
62
- python manage.py migrate
61
+ python3 manage.py makemigrations chat
62
+ python3 manage.py migrate
63
63
```
64
64
65
65
## Add Super User
66
66
67
67
```
68
- python manage.py createsuperuser
68
+ python3 manage.py createsuperuser
69
69
```
70
70
71
71
## Collect Static
72
72
73
73
```
74
- python manage.py collectstatic
74
+ python3 manage.py collectstatic
75
75
```
76
76
77
77
## Test Project
@@ -82,13 +82,13 @@ then copy `chromedriver` <b>binary</b> file in `env/bin/` path
82
82
## Run Test
83
83
84
84
```
85
- python manage.py test
85
+ python3 manage.py test
86
86
```
87
87
88
88
## Run Server
89
89
90
90
```
91
- python manage.py runserver
91
+ python3 manage.py runserver
92
92
```
93
93
94
94
## Open On Browser
You can’t perform that action at this time.
0 commit comments