mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-01-30 00:47:14 +00:00
Tests:
- More tests have been added.
This commit is contained in:
3
test/shell/couchdb-stop.sh
Normal file
3
test/shell/couchdb-stop.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
docker stop couchdb-test
|
||||
docker rm couchdb-test
|
||||
3
test/shell/minio-stop.sh
Normal file
3
test/shell/minio-stop.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
docker stop minio-test
|
||||
docker rm minio-test
|
||||
2
test/shell/p2p-init.sh
Normal file
2
test/shell/p2p-init.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
echo "P2P Init - No additional initialization required."
|
||||
8
test/shell/p2p-start.sh
Normal file
8
test/shell/p2p-start.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
script_dir=$(dirname "$0")
|
||||
webpeer_dir=$script_dir/../../src/lib/apps/webpeer
|
||||
|
||||
docker run -d --name relay-test -p 4000:8080 scsibug/nostr-rs-relay:latest
|
||||
npm run --prefix $webpeer_dir build
|
||||
docker run -d --name webpeer-test -p 8081:8043 -v $webpeer_dir/dist:/srv/http pierrezemb/gostatic
|
||||
5
test/shell/p2p-stop.sh
Normal file
5
test/shell/p2p-stop.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
docker stop relay-test
|
||||
docker rm relay-test
|
||||
docker stop webpeer-test
|
||||
docker rm webpeer-test
|
||||
Reference in New Issue
Block a user