Staging: https://staging.x-hain.de
Production: https://www.x-hain.de
- Install brew (for installing the rest):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - Install go:
brew install go - Install hugo:
brew install hugo
- Install hugo: Hugo Website
- Initial pull submodule xhain-theme:
git submodule update --init --recursive - Submodule update:
git submodule foreach git pull origin master
-
Run hugo to generate HTML:
hugo -
Run hugo for local development:
hugo server --config config.toml,home.tomlor
hugo server --config config.toml,home.toml -w --cleanDestinationDir
-
create new post (using archetypes):
hugo new de/post/YYYY-MM-DD_title.de.md -k postor
hugo new en/post/YYYY-MM-DD_title.en.md -k post -
just edit new post in the "content"-folder
The calendar is managed by Nextcloud.