Skip to content

Latest commit

 

History

History
45 lines (26 loc) · 880 Bytes

README.md

File metadata and controls

45 lines (26 loc) · 880 Bytes

StandWithUkraine

Prerequisites

The following applications/features need to be installed:

  • Python
  • Virtualenv
  • Restic

Setup

Virtualenv

cd backend
virtualenv venv
source ./venv/bin/activate
pip3 install -r ./requirements.txt

Build

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