-
-
Notifications
You must be signed in to change notification settings - Fork 135
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (20 loc) · 606 Bytes
/
Makefile
File metadata and controls
29 lines (20 loc) · 606 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
DOCKER_COMPOSE_DEV=docker compose -f docker/docker-compose.dev.yml
DOCKER_COMPOSE_PRD=docker compose -f docker/docker-compose.prd.yml
start:
$(DOCKER_COMPOSE_DEV) up
build:
$(DOCKER_COMPOSE_DEV) build
start-prd:
$(DOCKER_COMPOSE_PRD) up
build-prd:
$(DOCKER_COMPOSE_PRD) build
restart:
$(DOCKER_COMPOSE_DEV) restart photonix
shell:
$(DOCKER_COMPOSE_DEV) exec photonix bash
shell-prd:
$(DOCKER_COMPOSE_PRD) exec photonix bash
manage:
$(DOCKER_COMPOSE_DEV) exec photonix python photonix/manage.py ${}
test:
$(DOCKER_COMPOSE_DEV) run -e PYTHONDONTWRITEBYTECODE=1 --rm photonix python test.py