1.3 KiB
1.3 KiB
Development
Docker
To use the docker containter to develop:
- Fork the Repository
- Clone the forked repo
- Change to the directory of the cloned repo
docker build . -t armada/latest
docker run -d --name armada -v ~/.kube/config:/root/.kube/config -v $(pwd)/examples/:/examples armada/latest
Note
The first build will take a little while. Afterwords, it will build much faster.
Virtualenv
To use VirtualEnv we will need to add some extra steps
- virtualenv venv
- source ./venv/bin/activate
- sudo sh ./tools/libgit2.sh
Test that it worked with:
python -c 'import pygit2'
From the directory of the forked repository:
pip install -r requirements.txt
pip install -r test-requirements.txt
pip install -e .
Note
this will install the latest libgit2 library so you have to make sure you install the same version library with pip ( current version: 0.25.0 )
Kubernetes
To test your armada fixes/features you will need to set-up a Kubernetes cluster.
We recommend: