File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -140,19 +140,19 @@ <h2>Application urls</h2>
140140 < h2 > docker-compose commands</ h2 >
141141 < ul >
142142 < li >
143- < code > docker-compose run --rm manage createsuperuser</ code > - Command
143+ < code > docker-compose run --rm app ./ manage.py createsuperuser</ code > - Command
144144 to create a superuser
145145 </ li >
146146 < li >
147- < code > docker-compose run --rm manage tests </ code > - Command to run
147+ < code > docker-compose run --rm app pytest </ code > - Command to run
148148 tests
149149 </ li >
150150 < li >
151- < code > docker-compose run --rm makemigrations</ code > - Command to make
151+ < code > docker-compose run --rm app ./manage.py makemigrations</ code > - Command to make
152152 migrations (necessary if you change the models)
153153 </ li >
154154 < li >
155- < code > docker-compose run --rm migrate</ code > - Command to migrate the
155+ < code > docker-compose run --rm app ./manage.py migrate</ code > - Command to migrate the
156156 migrations (necessary if you ran the previous makemigrations step)
157157 </ li >
158158 </ ul >
You can’t perform that action at this time.
0 commit comments