|
|
|
@ -9,14 +9,6 @@
|
|
|
|
|
- `entr` to watch for file changes
|
|
|
|
|
- `xdg-open` link handler to invoke browser
|
|
|
|
|
- `libgd` (`php-gd`, `phpX.Y-gd`) for downsizing images
|
|
|
|
|
- patience
|
|
|
|
|
|
|
|
|
|
### Cloning or updating the repository
|
|
|
|
|
|
|
|
|
|
Ensure the consistency of the `languages` submodule by using the following options:
|
|
|
|
|
|
|
|
|
|
- `git clone --recurse-submodules <repository-url>`
|
|
|
|
|
- `git pull --recurse-submodules`
|
|
|
|
|
|
|
|
|
|
### Official repositories
|
|
|
|
|
|
|
|
|
@ -35,14 +27,14 @@ Run at least once: `make fetch` to query servers. This can take around 5 minutes
|
|
|
|
|
|
|
|
|
|
Run when developing: `make dev` to watch for changes & serve HTML locally in browser.
|
|
|
|
|
|
|
|
|
|
Symlink the commit hook provided in [`etc/hooks`](etc/hooks/) to `.git/hooks/<hook>` to run a full test cycle when committing to main.
|
|
|
|
|
Symlink the commit hooks provided in [`etc/hooks`](etc/hooks/) to `.git/hooks/<hook>` to run a full test cycle when committing to main.
|
|
|
|
|
|
|
|
|
|
See [`Makefile`](Makefile) for more details.
|
|
|
|
|
|
|
|
|
|
### Running your own copy
|
|
|
|
|
|
|
|
|
|
- point your webserver at the [`output`](output/) folder
|
|
|
|
|
- install and enable systemd services from the [`etc/systemd`](etc/systemd/) folder or an equivalent timer
|
|
|
|
|
- install and enable systemd services from the [`etc/systemd`](etc/systemd/) folder or an equivalent timer for periodic updates
|
|
|
|
|
|
|
|
|
|
## Code style guidelines
|
|
|
|
|
|
|
|
|
|