New readme.

This commit is contained in:
AnduinXue
2024-01-01 07:45:09 +00:00
parent 62ad261e50
commit b76e5b3b08
3 changed files with 15 additions and 3 deletions
+11 -2
View File
@@ -7,16 +7,25 @@
ChessServer is just a simple chess server for [Aiursoft](https://www.aiursoft.com) to test our new features.
## Run in Ubuntu
First, specify a domain name for your Ubuntu 18.04+, brand-new server.
The following script will install\update this app on your Ubuntu server. Supports Ubuntu 22.04.
And execute the following command in the server:
On your Ubuntu server, run the following command:
```bash
curl -sL https://gitlab.aiursoft.cn/aiursoft/chessserver/-/raw/master/install.sh | sudo bash
```
Of course it is suggested that append a custom port number to the command:
```bash
curl -sL https://gitlab.aiursoft.cn/aiursoft/chessserver/-/raw/master/install.sh | sudo bash -s 8080
```
It will install the app as a systemd service, and start it automatically. Binary files will be located at `/opt/apps`. Service files will be located at `/etc/systemd/system`.
## Run locally
Requirements about how to run