diff --git a/scripts/relaytester-install.sh b/scripts/relaytester-install.sh index 4efcd11..82800bb 100755 --- a/scripts/relaytester-install.sh +++ b/scripts/relaytester-install.sh @@ -16,4 +16,4 @@ cd relay-tester cargo build -r cp target/release/relay-tester $GOBIN/ cd .. -rm -rf relay-tester \ No newline at end of file +#rm -rf relay-tester \ No newline at end of file diff --git a/scripts/relaytester-test.sh b/scripts/relaytester-test.sh index bfa7d08..7f42d3d 100755 --- a/scripts/relaytester-test.sh +++ b/scripts/relaytester-test.sh @@ -7,7 +7,7 @@ if ! command -v "relay-tester" &> /dev/null; then echo "./scripts/relaytester-install.sh" exit fi -rm -rf ~/.local/share/ORLY +rm -rf /tmp/orlytest export ORLY_LOG_LEVEL=trace export ORLY_LOG_TO_STDOUT=true export ORLY_LISTEN=127.0.0.1 @@ -15,7 +15,9 @@ export ORLY_PORT=3334 export ORLY_IP_WHITELIST=127.0.0 export ORLY_ADMINS=6d9b216ec1dc329ca43c56634e0dba6aaaf3d45ab878bdf4fa910c7117db0bfa,c284f03a874668eded145490e436b87f1a1fc565cf320e7dea93a7e96e3629d7 export ORLY_ACL_MODE=none +export ORLY_DATA_DIR=/tmp/orlytest go run . & sleep 5 relay-tester ws://127.0.0.1:3334 nsec12l4072hvvyjpmkyjtdxn48xf8qj299zw60u7ddg58s2aphv3rpjqtg0tvr nsec1syvtjgqauyeezgrev5nqrp36d87apjk87043tgu2usgv8umyy6wq4yl6tu -killall next.orly.dev \ No newline at end of file +killall next.orly.dev +rm -rf /tmp/orlytest