-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
41 lines (30 loc) · 1.13 KB
/
Makefile
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
# Legacy command, use stack-* instead.
ui-build:
docker build -t qld-prez-builder -f builder.Dockerfile .
ui-output:
docker run --rm --name qld-prez-builder -e VITE_ENABLED_PREZS=SpacePrez,VocPrez -e VITE_API_BASE_URL=http://localhost:8000 -v ${PWD}/dist:/app/dist qld-prez-builder npm run build-only
ui-view:
docker run --rm -it --name qld-prez-ui -v ${PWD}/dist:/app -v ${PWD}/entrypoint.sh:/entrypoint.sh --entrypoint='./entrypoint.sh' -p 8000:8000 python:3-alpine
ui-all:
make ui-build
make ui-output
make ui-view
stack-pull:
docker-compose --profile stack pull
stack-build:
docker-compose --profile ui build
stack-load:
docker-compose --profile db up -d
docker-compose run -e FUSEKI_URL=http://fuseki:3030 -e FUSEKI_USER=admin -e FUSEKI_PASSWORD=admin data-loader
docker-compose --profile db down
docker-compose rm data-loader
stack-up:
docker-compose --profile stack up -d
stack-down:
docker-compose --profile stack down
stack-ui:
docker-compose build prez-ui && docker-compose stop prez-ui && docker-compose rm -f prez-ui && make stack-up
db-up:
docker-compose --profile db up -d
db-down:
docker-compose --profile db down