Skip to content

Commit

Permalink
mod: update readme (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
hetao92 authored Nov 15, 2022
1 parent 1af7d6f commit 091082a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ $ npm run dev
```
### Set up go-server
```
// remove default port 7001 in config/example-config.yaml first
$ cd server
$ go build -o server
$ nohup ./server &
$ ./server &
```

## Production Deploy
Expand All @@ -29,15 +30,14 @@ $ npm run build

### 1. Build Web
```
// remove default port 7001 in config/example-config.yaml first
$ mv dist server/assets
$ cd server
$ go build -o server
```

### 3. Start
```
$ mv dist server/assets
$ nohup ./server &
$ ./server &
```

### 4. Stop Server
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 091082a

Please sign in to comment.