Installation¶
There are several ways of installing and using dothebackup.
pex¶
You can download a pex-File for every release from the release page on GitHub. Read more about pex. Its a zipped up virtual environment, with all the dependencies contained, that you can run with just python installed.
- Be sure you have Python >= 3.4 installed
- Download pex file from release
- Move it to a place in your
$PATH. For examle/usr/local/bin - If you want you can renamse
dothebackup.pextodothebackup. This makes everything a little more neat
pip¶
Its also possible to use it with a normal pip command.
On Ubuntu for example:
sudo apt-get install python3-pipsudo pip3 install dothebackup
pipenv¶
I use pipenv to develop. You can use it too to create and manage a virtualenv to run dothebackup in it.
- Install
pipenv git clone https://github.com/xsteadfastx/DoTheBackup.gitcd DoTheBackuppipenv install --threepipenv run bash -c "pip install -e ."pipenv run dothebackup
virtualenv¶
You can just pull the repo and install dothebackup in an virtualenv.
On Ubuntu for example:
sudo apt-get install python3-virtualenvgit clone https://github.com/xsteadfastx/DoTheBackup.gitcd DoTheBackupvirtualenv envsource env/bin/activatepip install -e .
Now you should be able to use dothebackup.