forked from commune-ai/commune
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
54 lines (36 loc) · 659 Bytes
/
Makefile
File metadata and controls
54 lines (36 loc) · 659 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
42
43
44
45
46
47
48
49
50
51
52
53
54
COMMUNE=commune
SUBSPACE=subspace
SUBTENSOR=0.0.0.0:9944
PYTHON=python3
build:
docker-compose build
down:
docker-compose down
stop:
make down
up:
docker-compose up -d
start:
make start
restart:
make down && make up
logs:
./$(COMMUNE).sh --commune
subspace:
make bash arg=$(SUBSPACE)
enter:
make bash arg=$(COMMUNE)
restart:
make down && make up
prune_volumes:
docker system prune --all --volumes
bash:
docker exec -it ${arg} bash
kill_all:
docker kill $(docker ps -q)
logs:
docker logs ${arg} --tail=100 --follow
enter_backend:
docker exec -it $(COMMUNE) bash
pull:
git submodule update --force --recursive --init --remote