The following applications/features need to be installed:
- Python
- Virtualenv
- Restic
cd backend
virtualenv venv
source ./venv/bin/activate
pip3 install -r ./requirements.txt
You can build a pex file which contains all dependencies except for the [python] interpreter using the script pexbuild.sh while passing the main module to be used as the entrypoint.
Example:
cd backend
# this will generate a file 'app.pex' in this directory
./pexbuild.sh resticdash.main:main