diff options
author | Nate Sesti <33237525+sestinj@users.noreply.github.com> | 2023-08-07 15:09:15 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-07 15:09:15 -0700 |
commit | 863b483259ae404d1071bfd1d640e9fbd94c64eb (patch) | |
tree | ec816a427171ad7c02adc8bee6e6da93487dfc8a /continuedev | |
parent | e8f06f81a00c05b2d2c93d614666b2298a1273a5 (diff) | |
parent | 0d1963628c7a5f998aeaf1cf63d8abab2e8923ea (diff) | |
download | sncontinue-863b483259ae404d1071bfd1d640e9fbd94c64eb.tar.gz sncontinue-863b483259ae404d1071bfd1d640e9fbd94c64eb.tar.bz2 sncontinue-863b483259ae404d1071bfd1d640e9fbd94c64eb.zip |
Merge pull request #352 from bra1nDump/setup-experience
Improved 2 click setup experience for new devs
Diffstat (limited to 'continuedev')
-rwxr-xr-x | continuedev/install-dependencies.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/continuedev/install-dependencies.sh b/continuedev/install-dependencies.sh new file mode 100755 index 00000000..8f1b5d27 --- /dev/null +++ b/continuedev/install-dependencies.sh @@ -0,0 +1,16 @@ + +#!/bin/bash + +# Check if Poetry is installed +if ! command -v poetry &> /dev/null +then + echo "Poetry not found, installing..." + curl -sSL https://install.python-poetry.org | python3 - +fi + +# Install or update dependencies & create .venv if it doesn't exist +echo "Installing dependencies..." +poetry install + +echo "Running type generation..." +poetry run typegen |