2026-01-01

Making a Hugo website, hosted on Codeberg, and pushing to a Web Architects server

I’m involved in starting a housing co-op, and as of today we have a (shitty placeholder) website! 🎉

I wanted to have it hosted by Web Architects because they’re a cool tech co-op doing good things, and also because then I could copy the system that we use over on Corvus Co-op. Jez (who set up the Corvus Co-op website) lent me a hand, and along the way taught me what SSH was, which was a whole lot of fun. I am now unstoppable.

Here’s my notes in case I/you/whoever wants to do the same again. Not all of these are necessary. Note: I’m on Ubuntu 24.04.3 LTS, with many things installed already (git, hugo,…) so if you’re doing this fresh you may need to install bits!

1. Give Web Architects some money

In order to register a domain they’ll ask for various address and ID info, send you and invoice, and do some domain registration stuff in the background. Then they’ll send you some SSH credentials.

2. Set up a codeberg repo, and initialise it with a readme or something like that.

3. Do a local git clone and initialise a Hugo project

Following instructions from: https://gohugo.io/getting-started/quick-start/

4. Check your SSH access works

5. (Get a quick primer from Jez on what SSH is)

6. Set up local SSH access to Web Architects so that you don’t have to enter the password every time

7. Make the website build on Codeberg

8. Make the build website get pushed to the Web Arch server.

9. Wrapping up

I also needed to enable submodules in the build. Corvus Co-op uses a different way of importing the theme, which maybe longterm is actually better, but I used the hugo reference docs so I’ll stick with that for now.

And just like that… we have a beautiful draft website. Thank you Jez, the Web Arch folks, the Hugo folks, the Codeberg folks, all the other open-source maintainers… you get the idea! 🙌



This post is published under a CC BY 4.0 licence.