Browse Source

docs: update README (close #90)

JustSong 2 years ago
parent
commit
16c9ad2ff7
1 changed files with 4 additions and 1 deletions
  1. 4 1
      README.md

+ 4 - 1
README.md

@@ -126,7 +126,10 @@ sudo service nginx restart
 1. 从 [GitHub Releases](https://github.com/songquanpeng/message-pusher/releases/latest) 下载可执行文件或者从源码编译:
 1. 从 [GitHub Releases](https://github.com/songquanpeng/message-pusher/releases/latest) 下载可执行文件或者从源码编译:
    ```shell
    ```shell
    git clone https://github.com/songquanpeng/message-pusher.git
    git clone https://github.com/songquanpeng/message-pusher.git
-   cd message-pusher
+   cd message-pusher/web
+   npm install
+   npm build
+   cd ..
    go mod download
    go mod download
    go build -ldflags "-s -w" -o message-pusher
    go build -ldflags "-s -w" -o message-pusher
    ````
    ````