Skip to content

Commit

Permalink
misc makefile fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdf committed Feb 12, 2025
1 parent 7a47331 commit 9a85c57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ build-miner:

run-miner-bin:
set -a; source .env; set +a; \
./target/release/miner run --private-key-provider $$PROVIDER_PRIVATE_KEY --private-key-node $$NODE_PRIVATE_KEY --port 8091 --external-ip 0.0.0.0 --compute-pool-id 0
./target/release/miner run --private-key-provider $$PROVIDER_PRIVATE_KEY --private-key-node $$NODE_PRIVATE_KEY --port 8091 --external-ip 0.0.0.0 --compute-pool-id 0 --validator-address $$VALIDATOR_ADDRESS

SSH_CONNECTION ?= your-ssh-conn string
EXTERNAL_IP ?= 0.0.0.0
Expand Down
6 changes: 3 additions & 3 deletions miner/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ run-check:

run:
@echo "🔨 Building locally..."
cargo run -- run --subnet-id 1 --private-key-provider $$PRIVATE_KEY_PROVIDER --private-key-node $$NODE_KEY --port 8090 --external-ip 0.0.0.0 --compute-pool-id 0
cargo run -- run --subnet-id 1 --private-key-provider $$PRIVATE_KEY_PROVIDER --private-key-node $$NODE_KEY --port 8090 --external-ip 0.0.0.0 --compute-pool-id 0 --validator-address $$VALIDATOR_ADDRESS

watch:
@echo "👀 Watching for changes..."
cargo watch -x "run -- run --subnet-id 1 --private-key-provider $$PRIVATE_KEY_PROVIDER --private-key-node $$NODE_KEY --port 8090 --external-ip 0.0.0.0 --compute-pool-id 0"
cargo watch -x "run -- run --subnet-id 1 --private-key-provider $$PRIVATE_KEY_PROVIDER --private-key-node $$NODE_KEY --port 8090 --external-ip 0.0.0.0 --compute-pool-id 0 --validator-address $$VALIDATOR_ADDRESS"

# Setup GPU server with required dependencies
gpu-setup:
Expand Down Expand Up @@ -44,4 +44,4 @@ gpu-run:

# Watch mode - automatically deploy and run on file changes
gpu-watch:
cargo watch -x "make gpu-run"
cargo watch -x "make gpu-run"

0 comments on commit 9a85c57

Please sign in to comment.