readme to server.sh

master
bel 2023-03-31 22:15:06 -06:00
parent d7e7a07f6e
commit b9f0cec2e8
1 changed files with 5 additions and 41 deletions

View File

@ -1,7 +1,5 @@
# Mayhem Party Venue
`git config --global credential.helper store; git submodule init; git pull --recurse-submodules --jobs=10; git submodule foreach git pull origin master`
# Clients
## Distribute `rusty-pipe`
@ -27,7 +25,7 @@ echo local
cargo install --path ./
```
Each client needs 1 executable and 1 config file with a unique user "name".
Each client needs 1 executable and 1 config file
The server cannot be a client because sending, listening, and typing keyboard is bad. Maybe a VM on the client as a server would work tho.
@ -35,52 +33,18 @@ See `./config.d/rusty-pipe.d`
# Server
## TTS
## Code
// everything else in VM except this to capture speakers for STT
`bash ./server.sh`
## Game Playing
Foreground
## VM
### Setup
* debian and xfce
* `su -`
* default password is `root`
* `apt -y install snapd git clang`
* install discord (`snap install discord`)
* use `blapointe@protonmail.com`
* install dolphin (`snap install dolphin-emulator --beta`)
* `snap run dolphin-emulator.dolphin-emu`
* install docker (https://docs.docker.com/engine/install/debian/)
* `usermod -aG docker gm`
* add suoder
* `usermod -aG sudo gm`
* install rust
* `https://rust-lang.org/tools/install`
* `newgrp docker; docker ps`
* `d=$HOME/Go/src/gogs.inhome.blapointe.com; mkdir -p $d; cd $d`
* `git clone https://gogs.inhome.blapointe.com/bel/mayhem-party-venue.git mayhem-party-venue.d`
### Run
#### STT
// docker has permission issues so fuckit
#### Mayhem-Party.bin
```bash
docker build -f Dockerfile -t mayhem-party-venue . && docker run -p 17071:17071 -p 17070:17070/udp --rm -it -v /run/user/$UID/pulse/native:/run/user/0/pulse/native -e PULSE_SERVER=unix:/run/user/0/pulse/native -v "$PWD"/mnt.d:/mnt -e DEBUG=true mayhem-party-venue
```
#### Discord
TODO
Yep
#### Dolphin
TODO
Yep