mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-14 01:54:04 +00:00
* Basic AF server * wip * Add autonat to relay server * Add autonat client + fixes * Deploy script * wip * Debug view * wip * wip * relay all events * wip * fix * wip * libp2p man spoke * dctur * Relay config file * Advertise relay server * Dynamic relay configuration * wip * p2p relay config * cleanup * push instances into p2p state * fix * Fix up TS
13 lines
412 B
Bash
Executable file
13 lines
412 B
Bash
Executable file
#!/bin/bash
|
|
# A temporary script to deploy the p2p-relay to the server for testing
|
|
|
|
set -e
|
|
|
|
SERVER="54.176.132.155"
|
|
TARGET_DIR=$(cargo metadata | jq -r .target_directory)
|
|
cargo zigbuild --target aarch64-unknown-linux-musl --release
|
|
|
|
echo "$TARGET_DIR/aarch64-unknown-linux-musl/release/sd-p2p-relay"
|
|
|
|
scp "$TARGET_DIR/aarch64-unknown-linux-musl/release/sd-p2p-relay" ec2-user@$SERVER:/home/ec2-user/sd-p2p-relay
|