this repository contains the full source for the All Things Linux gemini capsule, including scripts.
ChandraGen is used to generate the code-of-conduct and blog pages dynamically, updating them as changes roll in.
##Setup instructions:
- Clone this repository
- run
git submodule update --init --recursive
- replace the config.toml in the gemserv submodule with the one included in this repository. if you're running this outside of ATL prod, edit it to reflect your domain names.
- Populate all certificate directories specified in the config file with
openssl req -x509 -newkey rsa:4096 -sha256 -days 3650 -nodes -keyout key.pem -out cert.pem -subj "/CN=[hostname]" -addext "subjectAltName=DNS:[hostname],DNS:*.[hostname],IP:[ip]"
- run
docker compose up -d
- run
git pull
. if config.toml is modified, commit and rebase it. - run
git restore gemserv/config.toml
- run
git submodule update --remote
- copy your config.toml back into the gemserv directory
- run
docker compose down && docker compose up -d