My Blog server was utilizes Hugo with the Blowfish theme to power. Follow the steps below to host this website on your server.
This website was built using Hugo, so please install it on your system before proceeding. For Arch Linux users, you can install Hugo using the following command:
sudo pacman -S hugo
Next, clone the repository, including its submodules. It is important to use the --recursive
flag to include the submodules, as this repository relies on two submodules that are necessary for building:
git clone --recursive https://github.com/UmmItC/Blog.git
Ensure that all submodules are up to date:
git submodule update --recursive --remote # First time only
git submodule update --recursive --remote
Alternatively, you can run the provided script to update everything which i wrote:
./update.sh
To skip the confirmation prompt for updating submodules and building the Hugo site, use the --noconfirm
option:
./update.sh --noconfirm
To run your server, use the following command:
hugo server --watch --logLevel debug
To build the HTML files to the default path ./public/
, run the following command. After building, you can upload the files to your server:
hugo --logLevel debug
We have CI/CD pipelines set up across multiple platforms: .woodpecker.yml
on Codeberg and hugo.yaml
within ./github/workflows
on GitHub. Once enabled, these pipelines automatically trigger builds every time you push changes :)
With Cloudflare Pages, you can link your GitHub repository, clone it, and run the installation commands (see the build section).
I use various DevOps tools to host my server, including mirror servers. Here are the servers in my hosting list. You can access the same content through different servers:
- GitHub Page (Main Server) - Running
- Codeberg Page (Mirror Server) - Running
- Cloudflare Page (Mirror Server) - Running
Feel free to open an issue in my repository if you have any questions or need assistance. I will do my best to help you!
This project is licensed under the GPL-2.0 License - see the LICENSE file for details.