Wagtail CMS for Open Vault
The published version can be installed using pip:
pip install ov-wag
For local devopment, install PDM for dependency management.
pip install pdm
git clone https://github.com/WGBH-MLA/ov-wag.git
pdm install
Several common functions can be executed with the ov
init script (using Docker)
See ov -h
for more detailed usage
ov dev
will start the development server locally.
Note For most commands, additional args will be passed on to the parent command.
dev
|d
- starts a local development server
build
|b
- build (or rebuild) the docker image
shell
|s
- starts a shell with all django variables loaded
manage
|m
- run a
manage.py
command
- run a
cmd
|c
- run a command directly on the container
- e.g.
ov c bash
ov c python3 -c "print('OpenVault!')"
- Install ggshield
pip install ggshield
# or
brew install gitguardian/tap/ggshield
- Login to gitguardian
ggshield auth login
- Install the pre-commit hooks
pre-commit install