flask/.devcontainer/post-create-command.sh
2023-03-12 08:13:26 -07:00

13 lines
318 B
Bash
Executable file

#!/bin/bash
set -e
# Add user's fork as a remote
# if ! git remote | grep -q "fork"; then
# git remote add fork https://github.com/${GITHUB_USER}/flask
# fi
python3 -m venv .venv
. .venv/bin/activate
pip install --upgrade pip setuptools
pip install -r requirements/dev.txt && pip install -e .
pre-commit install