UmmIt server utilizes Hugo with the Blowfish theme to power its website. Follow the steps below to host this website on your server.
Ensure you have the necessary packages installed by running the following command:
sudo pacman -S hugo git
Clone the repository, including its submodules:
git clone --recursive https://codeberg.org/UmmIt/Blog.git
Move into the cloned repository directory:
cd Blog
Ensure all submodules are up to date:
git submodule update --recursive --remote --init # First time only
git submodule update --recursive --remote
or run the lazy script :D
chmod +x update.sh
./update.sh
You can skip the confirmation prompt for updating submodules and Building hugo site by using the --noconfirm
option:
./update.sh --noconfirm
To run your server, use the following command:
hugo server --watch --logLevel debug
Build the HTML files to the default path ./public/
. After building, upload them to your server:
hugo --logLevel debug
Currently, we have CI/CD pipelines set up across multiple platforms: .woodpecker.yml
on Codeberg, .gitlab-ci.yml
on GitLab, and hugo.yaml
within ./github/workflows
on GitHub. Once successfully enabled, these pipelines automatically trigger builds every time you push changes, This is very convenient!
With Cloudflare Pages, just link your GitLab or GitHub repository, clone it, and run the installation commands (See build section)
I'm using differnet Devops to hosting my server. Including Mirror servers.
Here are the servers of my hosting list. You can visit the same content with different server.
- Github page (Mirror Server) - Running
- Codeberg page (Mirror Server) - Running
- Gitlab page (Mirror Server) - Running
- Cloudflare page (Mirror Server) - Running
Feel free to open an issue in my codeberg repository :D
All articles are under CC BY-SA 4.0. See here