From a043aaaef8f08665369f3e8cd6de9fa03199b3c8 Mon Sep 17 00:00:00 2001 From: agu3rra Date: Fri, 16 Feb 2024 16:48:23 -0300 Subject: [PATCH] incorporates poetry install and dep setup on a single script --- setup-aliases.sh => setup.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) rename setup-aliases.sh => setup.sh (83%) diff --git a/setup-aliases.sh b/setup.sh similarity index 83% rename from setup-aliases.sh rename to setup.sh index fce8b8f..dfbfde8 100755 --- a/setup-aliases.sh +++ b/setup.sh @@ -1,9 +1,12 @@ #!/bin/bash -# Run this script once you've run `poetry install` for getting dependencies +# Installs poetry on Unix +echo "Installing poetry" +curl -sSL https://install.python-poetry.org | python3 - -# It will create aliases (command nicknames) for the python binaries to be known -# by your OS +# Installs poetry-based python dependencies +echo "Installing python dependencies" +poetry install # List of commands to check and add or update alias for commands=("fabric" "fabric-api" "fabric-webui")