-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
39 lines (27 loc) · 818 Bytes
/
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
UID := $(shell id -u)
GID := $(shell id -g)
up: .env galaxy/venv pulsar/venv remote-galaxy/venv
docker-compose up
up-d: .env galaxy/venv pulsar/venv remote-galaxy/venv
docker-compose up -d
down:
docker-compose down
restart:
docker-compose restart galaxy-web galaxy-job pulsar
.env: .env.in
sh ./.env.in
galaxy/venv:
bash ./galaxy/init.sh
pulsar/venv:
bash ./pulsar/init.sh
remote-galaxy/venv:
bash ./remote-galaxy/init.sh
pulsar-galaxy-lib:
bash ./galaxy/pulsar-galaxy-lib.sh
clean:
rm -f .env
rm -rf galaxy/venv galaxy/database pulsar/venv pulsar/var remote-galaxy/venv
git checkout -- galaxy/database/README pulsar/var/README
docker-compose rm -sf
docker rmi -f galaxy-pulsar-dev:pulsar galaxy-pulsar-dev:galaxy-job galaxy-pulsar-dev:galaxy-web
.PHONY: clean up up-d down pulsar-galaxy-lib