-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
50 lines (34 loc) · 871 Bytes
/
Makefile
File metadata and controls
50 lines (34 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
rebuild:
docker-compose build --no-cache && docker-compose up -d --force-recreate
build-up:
docker compose up --build -d --remove-orphans
build:
docker compose build
bash:
docker compose run app bash
up:
docker compose up
up-d:
docker compose up -d
down:
docker compose down --remove-orphans
show_logs:
docker compose logs
config:
docker compose config
migrate:
docker compose run web python3 manage.py migrate
shell:
docker compose run web python3 manage.py shell
test:
docker compose run web python3 manage.py test
makemigrations:
docker compose run web python3 manage.py makemigrations
collectstatic:
docker compose run web python3 manage.py collectstatic --no-input --clear
superuser:
docker compose run web python3 manage.py add_superuser
down-v:
docker compose down -v
create_db:
docker-compose exec db createdb -U postgres desmond