How I installed and deployed this website
This time with Hugo. Building the website with hugo was very fast. Following the quick start introduction :
$ brew install hugo
$ hugo new site experience
$ cd experience/themes
$ git clone https://github.com/goodroot/hugo-classic.git
$ hugo new posts/my-first-post.md
I edited my first post, and tested it locally :
hugo server -D
… done !
To deploy it online it was a bit more difficult. I wanted to go for GCP since I use it at work. App engine was probably a good choice, even if Hugo is only static files.
In finally found a good example for deploying with App Engine, Cloud Build and Hugo, you can find it here
EDIT: Deploying hugo static files to App Engine is really cumbersome.
The Hugo website recommends deploying to https://app.netlify.com. Following the tutorial, it litterally took me 10 minutes to setup a github private repository, push everything there, and setup netlify to deploy the site.
Now I can update this blog and push to github, instant deploy ! Also I can use own domain and Netlify will create Let’s encrypt SSL Certificates for me. Awesome !
>> Home