-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
40 lines (29 loc) · 759 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
40
up:
docker-compose up --build -d
down:
docker-compose down
env_frontend: frontend/.env
$(MAKE) -C frontend
init: env_frontend data/neo4j
mkdir -p data/redis
init-with-cache: env_frontend data/neo4j data/redis
data/neo4j: data/neo4j.tar.xz
tar xfv $^ -C data
data/neo4j.tar.xz:
mkdir -p data
-wget -nc -O $@ https://drive.switch.ch/index.php/s/Q32bd1eZm9vQv6q/download
data/redis: data/redis.tar.xz
tar xfv $^ -C data
data/redis.tar.xz:
mkdir -p data
-wget -nc -O $@ https://drive.switch.ch/index.php/s/PdjrKSxTvTevrfX/download
cache-clean:
docker-compose stop redis cytoscape-backend
rm -rf data/redis/*
$(MAKE) up
clean:
$(MAKE) -C backend clean
$(MAKE) -C tmdb-collector clean
$(MAKE) -C tmdb-to-neo4j clean
rm-data:
rm -rf data