From 67ae5539f349aeb0bcba5eb59431b1c614e34786 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Wed, 26 Dec 2018 21:02:29 +0800 Subject: [PATCH] update --- plugins/csvn/index.html | 1 + plugins/gae/index.py | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/plugins/csvn/index.html b/plugins/csvn/index.html index 7753a0976..7867179db 100755 --- a/plugins/csvn/index.html +++ b/plugins/csvn/index.html @@ -31,6 +31,7 @@ function csvnReadme(){ html += '

* 注意:牢记admin的密码,在后csvn的管理后台和这里不同步

'; html += '

* 注意:在这里添加用户和csvn后台并不同步

'; html += '

* 注意:项目管理的地址一般是正确的,但在特殊环境下,地址可能不一致

'; + html += '

* 注意:脚本内使用sudo名,需要注释(vi /etc/sudoers)[#Default requiretty]

'; $('.bt-w-main .soft-man-con').html(html); } diff --git a/plugins/gae/index.py b/plugins/gae/index.py index 1c814bdff..dead2a809 100755 --- a/plugins/gae/index.py +++ b/plugins/gae/index.py @@ -167,10 +167,10 @@ def projectListCmd(): pName = contentObj['project_id'] projectDir = public.getWwwDir() + '/' + args['name'] - setUserCmd = cmd + 'gcloud config set account ' + asyncUser - setUserCmd += ' && ' + cmd + 'gcloud config set project ' + pName - asyncCmd = setUserCmd + ' && cd ' + projectDir + \ - ' && ' + cmd + 'gcloud app deploy <