forked from zilayo/hyperliquid-node-dockerized
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (20 loc) · 697 Bytes
/
Copy pathMakefile
File metadata and controls
23 lines (20 loc) · 697 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.PHONY: start
start:
@mkdir -p node-data && chmod 777 "./node-data/"
@echo "Building & Running Hyperliquid Testnet node..."
@DOCKER_BUILDKIT=1 docker compose build
@echo "Node will start in 3 seconds."
@echo "Once the node begins, logs can be checked with 'docker compose logs -f'"
@echo "No logs are expected during normal operation - they will only appear if there is an error"
@echo "Use 'make stop' to stop the node"
@sleep 3
@docker compose up -d
.PHONY: stop
stop:
@echo "Stopping the Hyperliquid Testnet node..."
@docker compose stop
.PHONY: clean
clean:
@echo "Removing old node data - sudo required!"
@sudo rm -rf "./node-data/"
@echo "./node-data successfully deleted"