Files
home-automation-backend/helper/install.sh

12 lines
236 B
Bash
Executable File

#!/usr/bin/bash
TARGET_DIR="$HOME/.local/poo-recorder"
mkdir -p $TARGET_DIR
cp ../main.py ../poo.py ../requirements.txt $TARGET_DIR
python -m venv "$TARGET_DIR/venv"
$TARGET_DIR/venv/bin/pip install -r $TARGET_DIR/requirements.txt