feat: allow requesting to register endpoints
This commit is contained in:
parent
07dfe2d9bc
commit
5adf192e5d
6 changed files with 178 additions and 44 deletions
|
|
@ -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!"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue