Skip to content
Snippets Groups Projects
Commit 840d0b16 authored by Robotka István Adrián's avatar Robotka István Adrián
Browse files

Update bootstrap.sh

parent 64cb39f6
No related branches found
No related tags found
No related merge requests found
Pipeline #7079 canceled
......@@ -8,7 +8,7 @@ echo ansible > requirements.python.txt
if ! command -v virtualenv &>/dev/null; then
echo "This command needs virtualenv to run."
echo "Install it like this:"
printf "\tapt install python3-virtualenv\n"
printf "\tapt install python3-venv\n"
printf "\tOR pip3 install --user virtualenv\n"
printf "\texport PATH=\"~/.local/bin:\$PATH\"\n"
exit 1
......@@ -17,7 +17,7 @@ fi
# if not in virtualenv
if [[ "$VIRTUAL_ENV" == "" ]]; then
# create virtualenv if not present
[[ ! -d .venv ]] && virtualenv .venv
[[ ! -d .venv ]] && python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.python.txt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment