Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BornNSK committed May 30, 2023
1 parent cc7128f commit ebbb631
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@ scp nginx.conf <username>@<host>:/home/<username>/nginx/nginx.conf

После запуска контенейров выполнить следующие действия (только при первом деплое):
* провести миграции внутри контейнеров:
```bash
```
docker-compose exec web python manage.py migrate
```
* собрать статику проекта:
```bash
```
docker-compose exec web python manage.py collectstatic --no-input
```
* Создать суперпользователя Django, после запроса от терминала ввести логин и пароль для суперпользователя:
```bash
```
docker-compose exec web python manage.py createsuperuser
```
##
Expand Down

0 comments on commit ebbb631

Please sign in to comment.