rename scripts

- add actual server/client deployment script
- make old database deployment scripts clear named
This commit is contained in:
ayham 2021-06-25 15:51:42 +03:00
parent 1d689bb884
commit c063e7962f
Signed by: ayham
GPG Key ID: EAB7F5A9DF503678
5 changed files with 8 additions and 3 deletions

View File

@ -29,9 +29,8 @@ Running sandbox:
```shell
$ sudo ./scripts/remove_db.sh
$ sudo ./scripts/deploy_sandbox.sh
$ . ./scripts/env.sh && cargo run --no-default-features
--features "server" -- 0.0.0.0:4000
--cert certs/certificate.crt --key private.key &
$ ./scripts/deploy_sandbox_server.sh
$ ./scripts/deploy_sandbox_client.sh
$ cargo run --no-default-features
--features "client,tls_no_verify" &
```

View File

@ -0,0 +1,3 @@
#!/bin/sh
cargo run --no-default-features --features "client,tls_no_verify"

View File

@ -0,0 +1,3 @@
#!/bin/sh
. ./scripts/env.sh && cargo run --no-default-features --features "server" -- 0.0.0.0:4000 --cert certs/certificate.crt --key certs/private.key