summaryrefslogtreecommitdiff
path: root/src/docs/setup.sh
blob: 63390833a49daf57d5ddc7dc0d19681bdcd9f061 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

if [ ! -f ./.venv/bin/activate ]; then
    rm -rf ./.venv
    python3 -m venv .venv
    . ./.venv/bin/activate
    pip3 install --upgrade pip
    pip3 install -r requirements.txt
else
    . ./.venv/bin/activate
fi