From aecc771765de6b6d0b1c9f65ef81d59e7bb79d7f Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sun, 9 Jun 2024 22:49:39 +0800 Subject: [PATCH] update README.md --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9df2089a..0420b9cf 100644 --- a/README.md +++ b/README.md @@ -53,19 +53,35 @@ Latest Daily Build: ### Install from binary Latest release: [https://github.com/mayswind/ezbookkeeping/releases](https://github.com/mayswind/ezbookkeeping/releases) +**Linux / macOS** + $ ./ezbookkeeping server run -ezBookkeeping will listen at port 8080 as default. Then you can visit http://{YOUR_HOST_ADDRESS}:8080/ . +**Windows** + + > .\ezbookkeeping.exe server run + +ezBookkeeping will listen at port 8080 as default. Then you can visit `http://{YOUR_HOST_ADDRESS}:8080/` . ### Build from source Make sure you have [Golang](https://golang.org/), [GCC](http://gcc.gnu.org/), [Node.js](https://nodejs.org/) and [NPM](https://www.npmjs.com/) installed. Then download the source code, and follow these steps: +**Linux / macOS** + $ ./build.sh package -o ezbookkeeping.tar.gz All the files will be packaged in `ezbookkeeping.tar.gz`. +**Windows** + + > .\build.bat package -o ezbookkeeping.zip + +All the files will be packaged in `ezbookkeeping.zip`. + You can also build docker image, make sure you have [docker](https://www.docker.com/) installed, then follow these steps: +**Linux** + $ ./build.sh docker ## Documents