Add a comment about running in production

ref #106
This commit is contained in:
Bud Parr 2018-05-14 15:16:43 -04:00 committed by GitHub
parent 41727a62e2
commit a89a23cfc4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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