How to host a Hugo website?

Discuss

Does anyone know how I can host a Hugo site on my YUNOhost?
I’m aware that it was previously possible through the webadmin but that the app was taken down.

I’ve built/generated and tested the website locally but would like to put it online.

  • How should I install Hugo (do I need to or are the files enough)?
  • How should I upload the website?
  • How should I configure access to it?

Many thanks :slight_smile:

Hugo is a static site generator.
After you have made your site, you need to generate it using hugo command. This will create your site in the “public” folder. Copy its content to the www folder of a my_webapp via sftp.

1 Like

Great, that sounds simple enough!