-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #382 from dimagi/deploy
Update deploy script to be compatible with latest server
- Loading branch information
Showing
3 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
fabric==1.14.1 | ||
Fabric3==1.14.post1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 = ['[email protected]'] | ||
env.code_dir = f'{env.deploy_dir}/logistics' | ||
env.hosts = ['[email protected]'] | ||
env.code_dir = '/home/cstock/www/cstock/code_root' | ||
env.branch = "main" | ||
|
||
|
||
|