@@ -1,40 +1,37 @@
|
|||||||
sudo apt remove $(dpkg --get-selections docker.io docker-compose docker-doc podman-docker containerd runc | cut -f1)
|
sudo apt remove $(dpkg --get-selections docker.io docker-compose docker-doc podman-docker containerd runc | cut -f1)
|
||||||
# Add Docker's official GPG key:
|
# Add Docker's official GPG key:
|
||||||
sudo apt update
|
sudo apt-get update -y
|
||||||
sudo apt install ca-certificates curl
|
sudo apt install ca-certificates curl
|
||||||
sudo install -m 0755 -d /etc/apt/keyrings
|
sudo install -m 0755 -d /etc/apt/keyrings
|
||||||
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
|
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
|
||||||
sudo chmod a+r /etc/apt/keyrings/docker.asc
|
sudo chmod a+r /etc/apt/keyrings/docker.asc
|
||||||
|
|
||||||
# Add the repository to Apt sources:
|
# Add the repository to Apt sources:
|
||||||
sudo tee /etc/apt/sources.list.d/docker.sources <<EOF
|
sudo tee /etc/apt/sources.list.d/docker.sources
|
||||||
Types: deb
|
#Types: deb
|
||||||
URIs: https://download.docker.com/linux/debian
|
#URIs: https://download.docker.com/linux/debian
|
||||||
Suites: $(. /etc/os-release && echo "$VERSION_CODENAME")
|
#Suites: $(. /etc/os-release && echo "$VERSION_CODENAME")
|
||||||
Components: stable
|
#Components: stable
|
||||||
Signed-By: /etc/apt/keyrings/docker.asc
|
#Signed-By: /etc/apt/keyrings/docker.asc
|
||||||
EOF
|
|
||||||
|
|
||||||
sudo apt update -y
|
sudo apt-get update -y
|
||||||
|
|
||||||
# Add Docker's official GPG key:
|
# Add Docker's official GPG key:
|
||||||
sudo apt update
|
sudo apt-get update
|
||||||
sudo apt install ca-certificates curl
|
sudo apt install ca-certificates curl
|
||||||
sudo install -m 0755 -d /etc/apt/keyrings
|
sudo install -m 0755 -d /etc/apt/keyrings
|
||||||
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
|
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
|
||||||
sudo chmod a+r /etc/apt/keyrings/docker.asc
|
sudo chmod a+r /etc/apt/keyrings/docker.asc
|
||||||
|
|
||||||
# Add the repository to Apt sources:
|
# Add the repository to Apt sources:
|
||||||
sudo tee /etc/apt/sources.list.d/docker.sources <<EOF
|
sudo tee /etc/apt/sources.list.d/docker.sources
|
||||||
Types: deb
|
#Types: deb
|
||||||
URIs: https://download.docker.com/linux/debian
|
#URIs: https://download.docker.com/linux/debian
|
||||||
Suites: $(. /etc/os-release && echo "$VERSION_CODENAME")
|
#Suites: $(. /etc/os-release && echo "$VERSION_CODENAME")
|
||||||
Components: stable
|
#Components: stable
|
||||||
Signed-By: /etc/apt/keyrings/docker.asc
|
#Signed-By: /etc/apt/keyrings/docker.asc
|
||||||
EOF
|
|
||||||
|
|
||||||
sudo apt update -y
|
|
||||||
|
|
||||||
|
sudo apt-get update -y
|
||||||
|
|
||||||
sudo systemctl status docker
|
sudo systemctl status docker
|
||||||
|
|
||||||
|
|||||||
@@ -8,10 +8,23 @@
|
|||||||
|
|
||||||
Hello, I made this project for fun.
|
Hello, I made this project for fun.
|
||||||
|
|
||||||
|
----
|
||||||
|
|
||||||
|
[Using Docker](#Using-Docker)<br>
|
||||||
|
[Prod Packages](#Using-Production-packages-(Windows))
|
||||||
|
|
||||||
|
----
|
||||||
|
|
||||||
|
## Using-Docker
|
||||||
|
|
||||||
|
*Please keep in mind you should run docker with nessesary perms, have access to the internet and actually have docker installed.
|
||||||
|
Install-Debian-Linux(GIVE ME SUDO).sh is a good start point*
|
||||||
|
|
||||||
Just use docker please the src is fine to use as well but you need golang, bun, garble and openssl.
|
Just use docker please the src is fine to use as well but you need golang, bun, garble and openssl.
|
||||||
|
|
||||||
To use docker copy the docker-compose.yml to your working directory and run
|
To use docker copy the docker-compose.yml to your working directory and run
|
||||||
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker compose up
|
docker compose up
|
||||||
```
|
```
|
||||||
@@ -57,7 +70,7 @@ These can be changed with:
|
|||||||
|
|
||||||
It's literally just docker any question chatgpt can answer so don't worry.
|
It's literally just docker any question chatgpt can answer so don't worry.
|
||||||
|
|
||||||
## Production package (Windows)
|
## Using-Production-packages-(Windows)
|
||||||
|
|
||||||
Build a production-ready package where the server can still build client binaries at runtime:
|
Build a production-ready package where the server can still build client binaries at runtime:
|
||||||
|
|
||||||
@@ -87,4 +100,4 @@ Windows package includes:
|
|||||||
|
|
||||||
`build-prod-package.bat` also minifies `public/assets/*.js` into the release package.
|
`build-prod-package.bat` also minifies `public/assets/*.js` into the release package.
|
||||||
|
|
||||||
Note: both packaging scripts always skip building client binaries and export `Overlord-Client` source for runtime builds.
|
Note: both packaging scripts always skip building client binaries and export `Overlord-Client` source for runtime builds.
|
||||||
|
|||||||
Reference in New Issue
Block a user