소스 검색
Add a comment about running in production
ref #106
tags/2.3
Bud Parr
6 년 전
No account linked to committer's email address
1개의 변경된 파일과
7개의 추가작업 그리고
0개의 파일을 삭제
-
README.md
|
|
@@ -134,6 +134,13 @@ In order to see your site in action, run Hugo's built-in local server. |
|
|
|
|
|
|
|
Now enter [`localhost:1313`](http://localhost:1313/) in the address bar of your browser. |
|
|
|
|
|
|
|
## Production |
|
|
|
|
|
|
|
To run in production (e.g. to have Google Analytics show up), run `HUGO_ENV=production` before your build command. For example: |
|
|
|
|
|
|
|
``` |
|
|
|
HUGO_ENV=production hugo |
|
|
|
``` |
|
|
|
|
|
|
|
## Contributing |
|
|
|
|