mirror of
https://github.com/trailofbits/algo.git
synced 2025-04-11 11:47:08 +02:00
parent
8be2d689a7
commit
1083b4bb97
1 changed files with 3 additions and 3 deletions
|
@ -30,9 +30,9 @@ getAlgo() {
|
||||||
[ ! -d "algo" ] && git clone "https://github.com/${REPO_SLUG}" -b "${REPO_BRANCH}" algo
|
[ ! -d "algo" ] && git clone "https://github.com/${REPO_SLUG}" -b "${REPO_BRANCH}" algo
|
||||||
cd algo
|
cd algo
|
||||||
|
|
||||||
python3 -m virtualenv --python="$(command -v python3)" .venv
|
python3 -m virtualenv --python="$(command -v python3)" .env
|
||||||
# shellcheck source=/dev/null
|
# shellcheck source=/dev/null
|
||||||
. .venv/bin/activate
|
. .env/bin/activate
|
||||||
python3 -m pip install -U pip virtualenv
|
python3 -m pip install -U pip virtualenv
|
||||||
python3 -m pip install -r requirements.txt
|
python3 -m pip install -r requirements.txt
|
||||||
}
|
}
|
||||||
|
@ -69,7 +69,7 @@ deployAlgo() {
|
||||||
|
|
||||||
cd /opt/algo
|
cd /opt/algo
|
||||||
# shellcheck source=/dev/null
|
# shellcheck source=/dev/null
|
||||||
. .venv/bin/activate
|
. .env/bin/activate
|
||||||
|
|
||||||
export HOME=/root
|
export HOME=/root
|
||||||
export ANSIBLE_LOCAL_TEMP=/root/.ansible/tmp
|
export ANSIBLE_LOCAL_TEMP=/root/.ansible/tmp
|
||||||
|
|
Loading…
Add table
Reference in a new issue