-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (28 loc) · 933 Bytes
/
Makefile
File metadata and controls
41 lines (28 loc) · 933 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
build:
docker compose -f local.yml up --build -d --remove-orphans
up:
docker compose -f local.yml up -d
down:
docker compose -f local.yml down
down-v:
docker compose -f local.yml down -v
show-logs:
docker compose -f local.yml logs
show-logs-api:
docker compose -f local.yml logs api
school-config:
docker compose -f local.yml config
makemigrations:
docker compose -f local.yml run --rm api python manage.py makemigrations
migrate:
docker compose -f local.yml run --rm api python manage.py migrate
collectstatic:
docker compose -f local.yml run --rm api python manage.py collectstatic --noinput --clear
superuser:
docker compose -f local.yml run --rm api python manage.py createsuperuser
flush:
docker compose -f local.yml run --rm api python manage.py flush
network-inspect:
docker network inspect school_sys_nw
school-db:
docker compose -f local.yml exec postgres psql --username=outshine --dbname=school