added readme files
This commit is contained in:
36
README.md
36
README.md
@@ -14,7 +14,7 @@ https://github.com/Akilan1999/laplace/tree/keyboard_mouse
|
||||
### Installation required to share keyboard and mouse
|
||||
To do this we ensure that the client either has has a IPV6
|
||||
address or a public IPV4 address.
|
||||
We use the use the popular open repository known as [Barrier KVM](https://github.com/debauchee/barrier).
|
||||
We use the popular open repository known as [Barrier KVM](https://github.com/debauchee/barrier).
|
||||
|
||||
#### What is Barrier kvm?
|
||||
|
||||
@@ -33,11 +33,35 @@ Barrier is software that mimics the functionality of a KVM switch, which histori
|
||||
### Build from source
|
||||
|
||||
```bash
|
||||
$ git clone https://github.com/adamyordan/laplace.git
|
||||
$ cd laplace && go build -o laplace main.go
|
||||
$ export LAPLACE = $PATH
|
||||
$ ./laplace --help
|
||||
$ ./laplace -setconfig
|
||||
# Assumes to be running on ubuntu 20.04
|
||||
# Ports required to be allocated internally:
|
||||
# - 8888 (laplace server)
|
||||
# - 24800 (barrier server)
|
||||
|
||||
# Updating and installing go compiler
|
||||
apt update
|
||||
apt install -y golang
|
||||
apt install -y jq
|
||||
## Installing git
|
||||
apt install -y git
|
||||
## Installing barrier
|
||||
apt install -y barrier
|
||||
## Installing chromium
|
||||
wget https://github.com/RobRich999/Chromium_Clang/releases/download/v94.0.4585.0-r904940-linux64-deb-avx/chromium-browser-unstable_94.0.4585.0-1_amd64.deb
|
||||
apt install -y ./chromium-browser-unstable_94.0.4585.0-1_amd64.deb
|
||||
#
|
||||
## clone remotegameplay distribution
|
||||
git clone https://github.com/Akilan1999/remotegameplay
|
||||
## enter cloned directory
|
||||
cd remotegameplay
|
||||
# sets REMOTEGAMEPLAY path
|
||||
export REMOTEGAMING=$PWD
|
||||
|
||||
# Build laplace binary file
|
||||
go build .
|
||||
|
||||
# Set configuration laplace file
|
||||
./laplace -setconfig
|
||||
```
|
||||
|
||||
### Program Execution
|
||||
|
||||
@@ -21,7 +21,7 @@ git clone https://github.com/Akilan1999/remotegameplay
|
||||
## enter cloned directory
|
||||
cd remotegameplay
|
||||
# sets REMOTEGAMEPLAY path
|
||||
export REMOTEGAMEPLAY=$PWD
|
||||
export REMOTEGAMING=$PWD
|
||||
|
||||
# Build laplace binary file
|
||||
go build .
|
||||
|
||||
Reference in New Issue
Block a user