Separate generate from build.

This commit is contained in:
NI
2019-08-07 19:25:13 +08:00
parent ebd6a7ad66
commit ed75a9131f
2 changed files with 3 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ To deploy this project onto the cloud, Google App Engine or Heroku for example,
you need to first download the source code, build it locally, then try to deploy
it.
The `npm run build` will build all static files, then automatically call
The `npm run generate` will generate all static files, then automatically call
`go generate ./...` to bind those static files directly into program source
code. You need those generated source code to get application to function. Also
because of this, directly call `go build .` on the newly downloaded souce code