mirror of
https://github.com/fumiama/CMoe-Counter.git
synced 2024-11-30 16:24:28 +01:00
Update README.md
This commit is contained in:
parent
0361d39b86
commit
2cca7d30dc
@ -19,9 +19,11 @@
|
|||||||
## [Demo](http://pan.fumiama.top:42412)
|
## [Demo](http://pan.fumiama.top:42412)
|
||||||
|
|
||||||
## Usage
|
## 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.
|
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
|
```bash
|
||||||
git clone https://github.com/fumiama/CMoe-Counter.git
|
git clone https://github.com/fumiama/CMoe-Counter.git
|
||||||
cd CMoe-Counter
|
cd CMoe-Counter
|
||||||
@ -31,7 +33,7 @@ cmake ..
|
|||||||
make
|
make
|
||||||
make install
|
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.
|
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
|
2. Run `simple-http-server` by the command
|
||||||
```bash
|
```bash
|
||||||
|
Loading…
Reference in New Issue
Block a user