Home » 网络资源

支持Google免费空间(GAE)的Python博客

8 04月 2010 Views: No Comment Tags:

GoogleGoogle App Engine允许用户免费使用500MB×10的空间,也就是说我们可以免费部署10个空间为500MB的Python应用。而且 每个应用每月的流量是500万个PV,Google够大方吧!

不过,由于Google App Engine仅仅支持Python,不支持php,所以我们是不可以在Google App Engine上面安装wordpress的.

 

作为一个Gfan,Google App Engine是不能不用滴,下面给大家list一些开源的Python博客

 

开源Python博客列表(fromGoogle App Engine 中文观察):

Plog  http://code.google.com/p/pyweblog/ 示例: http://plog.appspot.com
n23  http://code.google.com/p/n23/ 示例: http://n23.appspot.com/blog
xian-min http://code.google.com/p/xian-min/ 示例: http://xian-min.appspot.com
tublog http://code.google.com/p/tublog/ 示例: http://ether.appspot.com
NiuBi http://code.google.com/p/niubi/ 示例: http://niubi.appspot.com
onlypy  http://code.google.com/p/onlypy/ 示例: http://onlypython.appspot.com

英文
Potlatch Blog http://github.com/araddon/potlatchblog/tree/master
DEMO: http://aaronspotlatch.appspot.com/

Bloog http://github.com/DocSavage/bloog/tree/master
DEMO: http://bloog.appspot.com/

注册与部署

1、Google App Engine (GAE)刚发布的时候注册是有限制的,不过现在好了,只要你有移动或者联通的手机号码,就可以申请到Google App Engine (GAE)帐户。

注册地址:http://appengine.google.com/ 输入email地址,密码,选择国家,填上验证码,点击下一步。然后点击“Create an Application”然后就会到短信验证页面“Verify Your Account by SMS”,Country and Carrier:就选“Other<Not listed>”,Mobile Number 记得写上国家代码,eg.+86 13812345678. 等待验证码短信,收到后填进去验证就OK了。

2、部署Google App Engine (GAE)

如何创建一个hello world咱就不说了,就用部署micolog作为例子吧.Create an Application,填上应用标示,比如allengaogae。就是最终的地址(allengaogae.appspot.com),然后写上title。现阶段Google App Engine (GAE)还不能删除应用,也就是说免费帐户的10个应用用一个就少一个, 不过你用得了10个么?

First,下载python2.5以及Google App Engine SDK 安装!

现在去下载micolog程序,http://code.google.com/p/micolog/downloads/list 下载最新版哦

解压,你应该注意的文件是app.ymal,其中前两行

application: 你的应用标示
version: 版本号(数字,貌似只支持整数,非常有用!如果你想修改主题,不用备份,直接修改一下版本号即可,GAE后台可以设置应用的默认版本号)

把application修改为自己的应用标示,双击update.bat(或者自己在命令行界面下输入appcfg.py update 博客程序所在目录),会提示你输入email,然后是密码(密码是没有回显的,输入完回车即可),程序就都上传到Google App Engine空间上了,现在输入应用程序标示.appspot.com试试(yrname.appspot.com)!

原创文章如转载,请注明:转载自Xixis Blog [ http://www.xixis.net/ ]
本文链接地址:http://www.xixis.net/archives/support-for-google-for-free-space-gaeu002639s-python-blog.html

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.