ticketfrei3/setup.sh
2023-03-18 16:48:59 +01:00

10 lines
259 B
Bash
Executable file

cd $(dirname $0)
# install git-hooks
ln -sf ../../git-hooks/pre-commit .git/hooks/pre-commit
ln -sf ../../git-hooks/commit-msg .git/hooks/commit-msg
# create virtualenv
virtualenv -p $(which python3.10) backend/.venv
backend/.venv/bin/pip install tox black