flask/.devcontainer/post-create-command.sh

14 lines
318 B
Bash
Raw Normal View History

#!/bin/bash
2023-02-10 19:02:43 +00:00
set -e
# Add user's fork as a remote
2023-03-12 08:13:26 -07:00
# if ! git remote | grep -q "fork"; then
# git remote add fork https://github.com/${GITHUB_USER}/flask
# fi
2023-02-16 23:11:56 +00:00
python3 -m venv .venv
. .venv/bin/activate
2023-03-12 08:13:26 -07:00
pip install --upgrade pip setuptools
pip install -r requirements/dev.txt && pip install -e .
pre-commit install