diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 6944cc9a..381364cc 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -1,3 +1,3 @@ #!/usr/bin/env bash export CHATMAIL_DOMAIN="${1:-c1.testrun.org}" -venv/bin/pyinfra --ssh-user root "$CHATMAIL_DOMAIN" deploy.py +chatmail-pyinfra/venv/bin/pyinfra --ssh-user root "$CHATMAIL_DOMAIN" deploy.py diff --git a/scripts/init.sh b/scripts/init.sh index c8ec47fc..a9f0358e 100755 --- a/scripts/init.sh +++ b/scripts/init.sh @@ -1,4 +1,4 @@ #!/bin/sh -python3 -m venv venv -venv/bin/pip install pyinfra -venv/bin/pip install -e chatmail-pyinfra +python3 -m venv chatmail-pyinfra/venv +chatmail-pyinfra/venv/bin/pip install pyinfra +chatmail-pyinfra/venv/bin/pip install -e chatmail-pyinfra