For convenience you should use virtualenvwrapper:
sudo pip install virtualenvwrapper
Add three lines to /etc/environment or another shell startup file:
export WORKON_HOME=$HOME/.virtualenvs export PROJECT_HOME=$HOME/python_dev source /usr/share/virtualenvwrapper/virtualenvwrapper.sh
Create a new virtual environment:
mkvirtualenv confluence_dumper_venv
Enter the virtual environment:
workon confluence_dumper_venv
Install dependencies:
pip install -r requirements.txt
Copy confluence settings:
cd confluence_dumper cp settings.sample.py settings.py
Please personalize the settings.py
on your own according to your confluence instance.
Don't forget to switch to the virtual environment because of the installed dependencies:
workon confluence_dumper_venv
Run confluence dumper:
cd confluence_dumper python confluence_dumper.py