diff options
author | Philipp Hörist <philipp@hoerist.com> | 2022-12-17 15:55:57 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2022-12-17 16:03:37 +0300 |
commit | 714203b776bd1005a5917599208d2a169e92882c (patch) | |
tree | 602dd3d00e74c1353d7a993cb748954178625964 /scripts | |
parent | 91373ccc66b529a873890d75a2f694e0c3faec72 (diff) |
new: Add script for creating a development environment
- Update README.md
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dev_env.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/dev_env.sh b/scripts/dev_env.sh new file mode 100755 index 000000000..fa8af4e61 --- /dev/null +++ b/scripts/dev_env.sh @@ -0,0 +1,8 @@ +echo -e "\e[32mCreate virtualenv\e[0m" +python -m venv .venv +source .venv/bin/activate +echo -e "\e[32mInstall dependencies into virtualenv\e[0m" +pip install -e .[dev] +deactivate +echo -e "\e[32mFinshed\e[0m" +echo -e "\e[34mUse 'source .venv/bin/activate' to activate the virtualenv\e[0m" |