- Make sure you have
podman,python3,pip, andgitinstalled on your host machine - Clone the syzygy repo and its submodules
git clone --recurse-submodules https://github.com/underground-software/syzygy.git
- Clone the kdlp podman-compose repo
git clone https://github.com/underground-software/podman-compose.git
- Set up a python virtual environment
- Whenever you use
podman-compose.py, make sure you use thekdlp-venvyou set up! (run thesourcecommand listed below)
python3 -m venv kdlp-venv
source kdlp-venv/bin/activate
cdinto podman-compose and switch to the kdlp-devel branch (we use our own podman-compose fork)
cd podman-compose
git checkout origin/devel-kdlp
- Install podman-compose's requirements
pip install -r requirements.txt
- Go into
syzygy, make theemaildirectory and its subdirectories
cd ../syzygy
mkdir -p email/{logs,mail}
- Run the ssl setup script found in extenginx
- Make sure you run it from within the syzygy directory!
- If you get the error
extenginx/create_dev_keys.sh: 2: set: Illegal_option -o pipefail, edit thecreate_dev_keys.shscript and comment out the lineset -uexo pipefail
extenginx/create_dev_keys.sh
- Compose using the kdlp podman-compose branch and the container-compose-dev.yml file
../podman-compose/podman_compose.py -f container-compose-dev.yml build
../podman-compose/podman_compose.py -f container-compose-dev.yml up
- Access your local version of kdlp.underground.software
- open web browser
- go to https://localhost:1443
- accept the warning your browser probably gives you about the security certificate
You should now have a working, local version of the kdlp site!
To compose down, use
../podman-compose/podman_compose.py -f container-compose-dev.yml down -t0