From dffe4e277ecb621e2c57c1e3d6b913cfa3db0b9a Mon Sep 17 00:00:00 2001 From: Cory Zue Date: Wed, 6 Dec 2023 11:34:29 +0200 Subject: [PATCH] update directories / IPs --- fabfile.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/fabfile.py b/fabfile.py index 3285ef40b..a2561b99e 100644 --- a/fabfile.py +++ b/fabfile.py @@ -1,7 +1,7 @@ from fabric.api import * -VIRTUALENV_HOME = '/home/dimagi/.virtualenvs/cstock/bin' +VIRTUALENV_HOME = '/home/cstock/.virtualenvs/cstock/bin/' PIP = f'{VIRTUALENV_HOME}/pip' PYTHON = f'{VIRTUALENV_HOME}/python' @@ -10,9 +10,8 @@ def malawi(): """ Malawi configuration """ - env.deploy_dir = '/home/dimagi/src' - env.hosts = ['dimagi@10.84.168.89'] - env.code_dir = f'{env.deploy_dir}/logistics' + env.hosts = ['cstock@10.10.100.77'] + env.code_dir = '/home/cstock/www/cstock/code_root' env.branch = "main"