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!
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.
Following instructions from: https://gohugo.io/getting-started/quick-start/
hugo version
git clone https://codeberg.org/da5nsy/perennialhousingcoopcd perennialhousingcoop/hugo new site . --force (--force because it is not an empty folder)git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/anankeecho "theme = 'ananke'" >> hugo.tomlhugo server
hugo.toml with the right title and URL etc.ssh perennial@webarch1.co.uktouch index.htmlecho "this text" > index.htmlhugo (locally)scp -r /home/danny/Documents/perennialhousingcoop/public/* perennial@webarch1.co.uk:sites/static/ssh-keygenssh-copy-id perennial@webarch1.co.uk (this copies your computer’s default SSH to webarch)ssh 'perennial@webarch1.co.uk' (test it works)git push to get the action to run
ssh-keygen/home/danny/Documents/perennialhousingcoop/id_ed25519id* to the .gitignore file (so we don’t accidentally commit our secrets)awk '{printf "%s\\n", $0}' < id_ed25519 (textual representation of key)
DEPLOY-KEYssh-copy-id -i id_ed25519 perennial@webarch1.co.uk (this copies the key which is in the repo, rather than the computer’s default one which also has the same name)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! 🙌