feat: allow requesting to register endpoints

This commit is contained in:
Jet Pham 2025-06-05 21:12:53 -07:00
parent 07dfe2d9bc
commit 5adf192e5d
No known key found for this signature in database
6 changed files with 178 additions and 44 deletions

View file

@ -7,10 +7,10 @@ echo "Building for Raspberry Pi..."
cross build --release --target aarch64-unknown-linux-gnu
echo "Copying to Raspberry Pi..."
scp target/aarch64-unknown-linux-gnu/release/noisebell noisebridge@noisebell.local:~/
scp endpoints.json noisebridge@noisebell.local:/home/noisebridge/endpoints.json
scp target/aarch64-unknown-linux-gnu/release/noisebell noisebridge@noisebell.local:~/noisebell/
scp endpoints.json noisebridge@noisebell.local:/home/noisebridge/noisebell/endpoints.json
echo "Setting permissions"
ssh noisebridge@noisebell.local "chmod +x ~/noisebell "
ssh noisebridge@noisebell.local "chmod +x ~/noisebell/noisebell"
echo "Deployment complete!"