/website

Website for Habitat Augsburg e.V.

Primary LanguageCSS

Website for Das Habitat Augsburg e.V.

Static website based on Hugo, using Webpack for asset compilation

Requirements

On macOS it's recommened to install all of the above using [Homebrew][brew].

Development

Install dependencies by running yarn.

Use yarn start to run a development server which reloads when you make changes.

Alternative

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

Deployment

We use Now from Zeit to deploy the website.

  • now -S habitat to deploy a test build
  • now -S habitat --target production to deploy the website

Ask @pichfl for access.

File structure

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.