diff --git a/docs/Chinese/deployment.md b/docs/Chinese/deployment.md index bea5c7e5..1c97d1e0 100644 --- a/docs/Chinese/deployment.md +++ b/docs/Chinese/deployment.md @@ -17,6 +17,7 @@ KindleEar支持多种平台部署,我只在这里列出一些我测试通过 2. Shell部署 在同一个页面的右上角有一个图标 "激活 Cloud shell", 点击它,打开 cloud shell, 拷贝粘贴以下命令,根据提示不停的按 "y" 即可完成部署。 ```bash +rm -rf kindleear && \ git clone --depth 1 https://github.com/cdhigh/kindleear.git && \ chmod +x kindleear/tools/gae_deploy.sh && \ kindleear/tools/gae_deploy.sh @@ -52,11 +53,12 @@ gcloud beta app deploy --version=1 app.yaml ### 其他说明 1. 初始账号和密码为 admin/admin。 2. 部署时出现下面的几个提示时记得按 y,因为光标自动下移到了下一行,往往会忘记按 y,否则会一直卡在这里。 -```bash -Updating config [cron]...API [cloudscheduler.googleapis.com] not enabled on project [xxx]. Would you like to enable and retry (this will take a few minutes)? -Updating config [queue]...API [cloudtasks.googleapis.com] not enabled on project [xxx]. Would you like to enable and retry (this will take a few minutes)? ``` +Updating config [cron]...API [cloudscheduler.googleapis.com] not enabled on project [xxx]. Would you like to enable and retry (this will take a few minutes) +Updating config [queue]...API [cloudtasks.googleapis.com] not enabled on project [xxx]. Would you like to enable and retry (this will take a few minutes) +``` + 3. 如果出现部署失败并且多次尝试后仍然无法解决,比如"Timed out fetching pod."之类的错误,可以关停此id,然后重建一个,部署时选择其他区域。 diff --git a/docs/English/deployment.md b/docs/English/deployment.md index 73f3b715..63357beb 100644 --- a/docs/English/deployment.md +++ b/docs/English/deployment.md @@ -18,6 +18,7 @@ Open [google cloud](https://console.cloud.google.com/appengine) and create a new 2. Shell deployment On the same page, in the top right corner, there is an icon labeled "Activate Cloud Shell". Click on it to open the cloud shell. Copy and paste the following commands, and follow the prompts by pressing "y" continuously to complete the deployment. ```bash +rm -rf kindleear && \ git clone --depth 1 https://github.com/cdhigh/kindleear.git && \ chmod +x kindleear/tools/gae_deploy.sh && \ kindleear/tools/gae_deploy.sh @@ -55,11 +56,11 @@ gcloud beta app deploy --version=1 app.yaml 1. The initial username and password are admin/admin. 2. When prompted during deployment with the following messages, remember to press "y". The cursor automatically moves to the next line, and it's easy to forget to press "y". Otherwise, it will remain stuck at this step. -```bash -Updating config [cron]...API [cloudscheduler.googleapis.com] not enabled on project [xxx]. Would you like to enable and retry (this will take a few minutes)? - -Updating config [queue]...API [cloudtasks.googleapis.com] not enabled on project [xxx]. Would you like to enable and retry (this will take a few minutes)? ``` +Updating config [cron]...API [cloudscheduler.googleapis.com] not enabled on project [xxx]. Would you like to enable and retry (this will take a few minutes) +Updating config [queue]...API [cloudtasks.googleapis.com] not enabled on project [xxx]. Would you like to enable and retry (this will take a few minutes) +``` + 3. If encountering errors like "Timed out fetching pod", you have the option to delete this app id, recreate a new one and select a different region during deployment.