pkimber / old-fabric-migrated-to-gitlab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fabric

apt install python-dev
apt install duplicity python-paramiko

The documentation for this project can be found at: https://github.com/pkimber/docs

To create the python 2 virtual environment for this project:

# deactivate any current virtual environments
deactivate

# '--system-site-packages' allows 'import' of 'duplicity'
virtualenv --system-site-packages venv-fabric
source venv-fabric/bin/activate
pip install -r requirements.txt

To activate the environment:

source venv-fabric/bin/activate

To run the unit tests:

source venv-fabric/bin/activate
py.test -x

Important

Important

devpi (python requests) on python 2 isn't happy with the new SSL certificate on our devpi server. devpi with python 3 is happy - so use devpi with python 3.

Docker (WIP)

Build the docker image:

docker build -t myfab .

About

License:Apache License 2.0


Languages

Language:Python 91.5%Language:SaltStack 8.2%Language:Scheme 0.3%