Static website based on Hugo, using Webpack for asset compilation
On macOS it's recommened to install all of the above using [Homebrew][brew].
Install dependencies by running yarn
.
Use yarn start
to run a development server which reloads when you make changes.
If you don't have a global installation of Hugo, you can also download it locally and use that version.
sh download-hugo.sh
# Use `dev` instead of `start` to use the Hugo version downloaded by the script above
yarn dev
We use Now from Zeit to deploy the website.
now -S habitat
to deploy a test buildnow -S habitat --target production
to deploy the website
Ask @pichfl for access.
The project follows the basic file structure found in Hugo projects.
The theme folder "habitat" makes the only exception with a custom assets
folder that gets compiled by Webpack.