This repository is mainly maintained by @wikimatze.
The site is manually deployed with SSH on a German hoster called Webhostone.
Install Hugo (at least version 43) for Ubuntu via
sudo apt-get install hugo
or for Mac via:
brew install hugo
To validate the installation please run the following command:
hugo help
If you see an output like:
`` ~/git/vimberlin.de$ hugo help hugo is the main command, used to build your Hugo site.
Hugo is a Fast and Flexible Static Site Generator built with love by spf13 and friends in Go.
Complete documentation is available at http://gohugo.io/. ... ``
Then you can start working.
To install the latest package for ubuntu, you can see an instruction under https://hostadvice.com/how-to/how-to-install-hugo-on-ubuntu-18-04/.
Clone this repo:
git clone git@github.com:vimberlin/vimberlin.de.git && cd vimberlin.de
Then clone the hyde-hdye theme via:
git clone https://github.com/htr3n/hyde-hyde.git themes/hyde-hyde
Build the project:
hugo server
I'm using the env variable HUGO_ENV
with the value production
to deploy
it to the live environment with the following command:
export HUGO_ENV='production' && rake deploy && export HUGO_ENV='staging'
In order to run the command from above please install Ruby and Rake.
All files are MIT Licensed. Feel free to use the HTML and CSS as you please.