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
+1 -1
View File
@@ -48,4 +48,4 @@ install()
# This will install this app under /opt/apps and register a new service with systemd.
# Example: install 5000
install "$@"
install "$@"
@@ -31,6 +31,9 @@
</ul>
<div class="form-inline">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" title="Manage" id="player-nick-name" href="#">未登录</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://gitlab.aiursoft.cn/aiursoft/chessserver">
<i class="fab fa-gitlab"></i>