Hugoku
Hugoku is an open and automated PAAS solution to host Hugo static websites.
Description
The name of hugoku came from the fusion of hugo and heroku and some power of Goku.
Hugo try to be a service like Heroku for automate the generation of static websites on the top of Hugo.
In the market there is other solution for doing that like netlify, but no as open source, and not created in the Gopher Gala.
Configuration
Define the HUGOKU_OAUTH2_CLIENT_ID
and HUGOKU_OAUTH2_CLIENT_SECRET
environment variables with your Github App credentials.
You can also set the HUGOKU_OAUTH2_CALLBACK_URL
environment variable to point to the url for the callback auth call usually https://yourdomain.com/auth/callback
for example:
https://example.com/auth/callback
Or you can also set the callback when you register the application on Github using the field Authorization callback URL
Install
go get github.com/gophergala2016/hugoku
Launch
Just run it:
./hugoku
Take a look at the Showcase