2023-02-10 18:22:44 +00:00
|
|
|
#!/bin/bash
|
2023-02-10 19:02:43 +00:00
|
|
|
set -e
|
2023-02-10 18:22:44 +00:00
|
|
|
|
|
|
|
|
# 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-10 18:22:44 +00:00
|
|
|
|
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
|
2023-02-10 18:22:44 +00:00
|
|
|
pip install -r requirements/dev.txt && pip install -e .
|
|
|
|
|
pre-commit install
|