- Download [Hugo](https://gohugo.io/#action) and put it in your `PATH`
- Install gulp-cli globally with `npm install --global gulp-cli`, *OPTIONAL* for SCSS and Javascript
- Install Node packages with `npm install`, *OPTIONAL* for SCSS and Javascript
- Install Node packages with `npm install` (or via `yarn`), *OPTIONAL* for SCSS and Javascript
- Install Python packages with `pip install -r requirements.txt`, *OPTIONAL* for getting content from [Contentful](https://app.contentful.com/spaces/4nuqzxntzxks)
## Start servers and watchers
...
...
@@ -11,13 +10,12 @@
If you want to modify css or javascript run `gulp` in another terminal:
gulp
npm run gulp
## Build site
(cd import; python import.py) # Optional for fetching content from Contentful
gulp build
hugo
npm run build
Test by locally serving via [Caddy](https://caddyserver.com):
...
...
@@ -28,7 +26,7 @@ Test by locally serving via [Caddy](https://caddyserver.com):
-[Hugo](https://gothugo.com) - Static site generator for technical documentation
-[Contenful](https://www.contentful.com/) - API-based CMS for news, articles, ..