瀏覽代碼

Add a comment about running in production

ref #106
tags/2.3
Bud Parr 6 年之前
父節點
當前提交
a89a23cfc4
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 7 行新增0 行删除
  1. 7
    0
      README.md

+ 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


Loading…
取消
儲存