Last active
June 17, 2019 12:22
-
-
Save edvardm/987faae5e5e3ab3e0adf2b9b08f184d1 to your computer and use it in GitHub Desktop.
Simple bootstrapt script intended to be used /w curl or similar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# This script is intended to setup things so that more advanced project commands (doit, poetry) can be easily used | |
set -eu | |
VENV_DIR=".venv" | |
echo "Creating venv to ${VENV_DIR} unless present" | |
test -d ${VENV_DIR} || python3 -m venv ${VENV_DIR} | |
echo "Activate venv and install poetry" | |
. ${VENV_DIR}/bin/activate && \ | |
pip install --upgrade pip && \ | |
pip install poetry && \ | |
poetry install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment