1
0
mirror of https://github.com/fumiama/CMoe-Counter.git synced 2024-11-24 06:10:11 +01:00

Update README.md

This commit is contained in:
源文雨 2021-06-08 19:31:10 +08:00 committed by GitHub
parent 0361d39b86
commit 2cca7d30dc

View File

@ -19,9 +19,11 @@
## [Demo](http://pan.fumiama.top:42412)
## Usage
### Install [simple-http-server](https://github.com/fumiama/simple-http-server)
### 1. Install [simple-http-server](https://github.com/fumiama/simple-http-server)
Follow the instructions in [this repo](https://github.com/fumiama/simple-http-server) to install it.
### Install CMoe
### 2. Install [simple-protobuf](https://github.com/fumiama/simple-protobuf)
Follow the instructions in [this repo](https://github.com/fumiama/simple-protobuf) to install it.
### 3. Install CMoe
```bash
git clone https://github.com/fumiama/CMoe-Counter.git
cd CMoe-Counter
@ -31,7 +33,7 @@ cmake ..
make
make install
```
### Copy files
### Copy files to web root
1. Copy `favicon.ico`, `index.html`, `style.css` and the compiled binary `cmoe` into the same folder.
2. Run `simple-http-server` by the command
```bash