mirror of
https://github.com/BBaoVanC/bbaovanc.com.git
synced 2024-06-01 23:19:22 -05:00
1.2 KiB
1.2 KiB
Contributing to bobatheme
Where to put questions/issues/etc
Please use the proper section on bobaforum for issues, questions, or discussions.
Building
Just in case you need it.
Automatic deploy previews with GitHub Actions
My GitHub Actions workflows will automatically build each pull request into a public deploy preview on demo.bbaovanc.com, and will link it in a comment.
Manual (local) building
You can also build the site yourself using Hugo, including a live local preview.
- Make sure you install the latest version of Hugo, or hopefully at least the
min_version
listed in theme.toml. Let me know if that minimum version isn't enough and I'll fix it. - Clone the repo
- Make sure to download and checkout the submodules (use
git submodule update --init --recursive
). The--recursive
flag is especially important because bobatheme has a submodule in itself for icons. - Run
hugo serve -D
to run a local webserver. Hugo will show the URL you can access the preview at. It will automatically rebuild and reload pages when you save them.