KindleEar icon indicating copy to clipboard operation
KindleEar copied to clipboard

现在可以通过google cloud shell直接上传了

Open nmly opened this issue 9 years ago • 36 comments

昨天刚刚弄了自己的kindle ear,多谢开发者。 发现新的google cloud console有个cloud terminal功能,已经不需要自己安装python和GAE SDK去上传了,可以直接在terminal里git clone过去。也许国内上传翻墙等问题,也可以通过这个解决?

nmly avatar May 27 '16 11:05 nmly

新版 GAE 我老是找不到想要的功能……请问下楼主你说的那个 cloud terminal 入口在哪?

miaowm5 avatar May 27 '16 14:05 miaowm5

https://console.cloud.google.com/home/dashboard?project=xxxxxxxxx (your app id) 在gae dashboard里,右上角project name右边第一个小图标,鼠标放上去显示activate google cloud shell

nmly avatar May 27 '16 15:05 nmly

@nmly

为什么我git clone后,打开是404…… 说一下我的步骤: 1.fork项目,再按FAQ:https://htmlpreview.github.io/?https://github.com/cdhigh/KindleEar/blob/master/static/faq.html#ownserver 修改了那三个文件。 2.在shell里执行:git clone https://github.com/shenxiu/KindleEar.git 3.打开xxxxx.appspot.com,显示Error: Not Found,The requested URL / was not found on this server.

shenxiu avatar May 27 '16 22:05 shenxiu

@shenxiu

我的做法是

  1. cloud shell里直接git clone
  2. cloud里用emacs(或者其他你熟悉的编辑器),改那三个文件
  3. 在kindleear目录里输入 appcfg.py update ./

nmly avatar May 28 '16 23:05 nmly

@nmly 谢谢回复,已安装成功

shenxiu avatar May 29 '16 01:05 shenxiu

我试了试,确实可以直接上传,于是写了一个 repo ,这样就能直接用简易方式上传了 https://github.com/miaowm5/KeUploader

miaowm5 avatar May 30 '16 13:05 miaowm5

好东西啊,只不过免费到年底,小白们得速度了。

jiey2016 avatar Jun 01 '16 16:06 jiey2016

请问如果我想上传自己写的py文件怎么办啊 @miaowm5 @nmly

shmily1866 avatar Jun 09 '16 15:06 shmily1866

先fork那个repo,把 upload.sh中第二行的git地址改成你自己写的py文件的git地址,然后,上传时,步骤的第二步 git clone https://github.com/miaowm5/KeUploader.git 改成你fork 后的地址

miaowm5 avatar Jun 09 '16 16:06 miaowm5

遇到点问题求帮助 首先使用您的方法 @miaowm5 网页打开后500 所以大概采用 @nmly 的方法 我先fork了kindleear,然后加上了自己的py文件和所需的封面图片,修改了FAQ里说的那三个文件 然后1.git clone https://github.com/shmily1866/KindleEar.git 2.cd kindleear 3.appcfg.py update ./ 最后页面可以打开登陆,但是不推送,手动推送后等了好久推送日志也没有内容 自己写的文件应该没问题是之前一直用的,而且自带的也无法推送 gae日志里也没有什么报错内容 小白一个求帮助万分感谢 @miaowm5 @nmly

shmily1866 avatar Jun 11 '16 07:06 shmily1866

莫名其妙又好了。。。不知道问题出在哪反正能推送就好 @miaowm5 话说之所以用您的方法失败是因为我在输完账号之后顺手就输的密码== 于是把时区改成我密码了。。。。。。。。。。。

shmily1866 avatar Jun 11 '16 07:06 shmily1866

@miaowm5 使用了你的简易上传,成功部署好了!非常感谢。

Gemring avatar Jun 23 '16 10:06 Gemring

@miaowm5 helper.py 中“Do you want to remove Chinese books?”是什么鬼?会不会影响我上传自己的book?

lqzh1987 avatar Jun 24 '16 14:06 lqzh1987

@lqzh1987 移除书籍名称包含中文的书籍,除非你输入了 'Y', 'YES', 'y', 'yes' 中的某一个,否则的话什么都不会发生

miaowm5 avatar Jun 25 '16 12:06 miaowm5

噢噢噢 谢谢

2016-06-25 20:04 GMT+08:00 Monkey Juice [email protected]:

@lqzh1987 https://github.com/lqzh1987 移除书籍名称包含中文的书籍,除非你输入了 'Y', 'YES', 'y', 'yes' 中的某一个,否则的话什么都不会发生

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cdhigh/KindleEar/issues/313#issuecomment-228536710, or mute the thread https://github.com/notifications/unsubscribe/ANjXneIRVQUzqgLw6CT10KQ1szZC2NWhks5qPRlSgaJpZM4Iobup .

lqzh1987 avatar Jun 26 '16 02:06 lqzh1987

亲测可用

JiangXL avatar Jul 11 '16 17:07 JiangXL

@nmly 执行完报这个错是怎么回事呢?

Validation error: Invalid dispatch configuration - module 'worker' does not exist. Upload a version of this module and try again.

seamaner avatar Jul 12 '16 06:07 seamaner

1st. appcfg.py update app.yaml module-worker.yaml 2nd. appcfg.py update .

seamaner avatar Jul 12 '16 06:07 seamaner

感谢提醒,已经成功部署。 之前用简易上传和标准上传均未能成功,耗费了很多时间。这个方法很有用。

javenfeng avatar Jul 13 '16 00:07 javenfeng

@seamaner

我猜是因为update指定的目录不对吧,你掉了个斜线 appcfg.py update ./

nmly avatar Jul 16 '16 12:07 nmly

@miaowm5 非常感谢 程序小白之前总是部署失败,用这个方法一下成功了 比较杯具的是,一开始绑全球付的虚拟信用卡,股沟扣了1刀后,才说不能用这个卡_(:з」∠)_ 白扣了1刀和手续费_(:з」∠)_ 更悲伤的是 原来装个新版本的python就部署成功இωஇ 啊 总之终于能用了 感谢作者

mlyksuu avatar Aug 08 '16 14:08 mlyksuu

@mlyksuu 嗯会扣钱吗?我自己没绑卡没扣钱但是可以正常使用……

miaowm5 avatar Aug 09 '16 01:08 miaowm5

@miaowm5 可能是我当时智商下线了இωஇ

mlyksuu avatar Aug 09 '16 05:08 mlyksuu

@nmly 请问那三个文件一定要提前修改吗,如果不需要的话,是不是直接clone 原kindleear作者的地址然后到了cloud shell里面修改,因为我修改完上传1万多次没成功🤣,打不开。。。。 @miaowm5

cassano0409 avatar Aug 14 '16 15:08 cassano0409

@cassano0409 可以在 cloud shell 里修改,不过既然你能clone成功了……你直接fork一份,然后在fork的那份里修改,最后clone你fork的那份不就好了……

miaowm5 avatar Aug 15 '16 00:08 miaowm5

@miaowm5 thx~

cassano0409 avatar Aug 16 '16 12:08 cassano0409

感谢@miaown5 亲测成功!

ylhaven avatar Sep 25 '16 06:09 ylhaven

@nmly 咋会出现这个问题呢?奇怪

Please visit https://developers.google.com/appengine/downloads for the latest SDK


05:52 PM Starting update of app: kindleear-163107, version: 1 05:52 PM Getting current resource limits. 05:52 PM Scanning files on local disk. Error 404: --- begin server output --- This application does not exist (project_id=u'kindleear-163107'). To create an App Engine application in this project, run "gcloud app create" in your console. --- end server output ---

Demired avatar Mar 30 '17 09:03 Demired

@Demired 项目不存在

miaowm5 avatar Apr 01 '17 08:04 miaowm5

请问各位大佬部署后的版本是多少,我一些自定义的rss需要翻墙才能获取,FAQ中说要升级到1.5及以上版本,并且将被qiang的RSS的链接协议改为https。 我用此方法部署后是1.25,但我fork并git clone的应该是最新的才对啊,求解。

ZJJane avatar Dec 27 '17 13:12 ZJJane