-
Notifications
You must be signed in to change notification settings - Fork 2
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 #35 from valory-xyz/fix/do-not-clone
fix: do not clone the repo
- Loading branch information
Showing
2 changed files
with
9 additions
and
12 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 |
---|---|---|
|
@@ -108,7 +108,7 @@ function isGitInstalledUbuntu() { | |
} | ||
|
||
function installPythonUbuntu() { | ||
return runSudoUnix('apt', 'install -y python3.10 python3.10-dev'); | ||
return runSudoUnix('apt', 'install -y python3.10 python3.10-dev python3-pip'); | ||
} | ||
|
||
function installGitUbuntu() { | ||
|
@@ -119,12 +119,11 @@ function createVirtualEnvUbuntu(path) { | |
return runCmdUnix('python3.10', ['-m', 'venv', path]); | ||
} | ||
|
||
function cloneRepositoryUnix() { | ||
runCmdUnix('git', ['clone', '[email protected]:valory-xyz/olas-operate-app']) | ||
} | ||
|
||
function installOperatePackageUnix(path) { | ||
runCmdUnix(`${path}/venv/bin/python3.10`, ['-m', 'pip', 'install', `${path}/temp/olas-operate-app`]) | ||
return runCmdUnix( | ||
`${path}/venv/bin/python3.10`, | ||
['-m', 'pip', 'install', 'olas-operate-middleware==0.1.0rc0'] | ||
) | ||
} | ||
|
||
function installOperateCliDarwin(path) { | ||
|
@@ -191,7 +190,6 @@ async function setupDarwin() { | |
|
||
console.log("Installing operate backend") | ||
process.chdir(`${OperateDirectory}/temp`) | ||
cloneRepositoryUnix() | ||
installOperatePackageUnix(OperateDirectory) | ||
|
||
console.log("Installing operate CLI") | ||
|
@@ -228,7 +226,6 @@ async function setupUbuntu() { | |
|
||
console.log("Installing operate backend") | ||
process.chdir(`${OperateDirectory}/temp`) | ||
cloneRepositoryUnix() | ||
installOperatePackageUnix(OperateDirectory) | ||
|
||
console.log("Installing operate CLI") | ||
|
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