New readme.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user