上篇文章list若干支持Google免费空间(GAE)的Py
thon博客,今天来说说Google App Engine (GAE)的注册和部署过程
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: 你的应用标示(就像allengaogae)
version: 版本号(数字,貌似只支持整数,非常有用!如果你想修改主题,不用备份,直接修改一下版本号即可,GAE后台可以设置应用的默认版本号)把application修改为自己的应用标示,双击update.bat(或者自己在命令行界面下输入appcfg.py update 博客程序所在目录),会提示你输入email,然后是密码(密码是没有回显的,输入完回车即可),程序就都上传到Google App Engine空间上了,现在输入应用程序标示.appspot.com试试(您也可以输入allengaogae.appspot.com看看AG的)!
3、再告诉大家一个好消息,Google App Engine还支持绑定域名!
更新:GAE现在只允许绑定Naked Domain了,Naked Domain就是指www.yourdomain.com之类的,二级域名不是
注册yourname.co.cc免费域名,还能挣钱哦
在后台Versions里面选择“Add Domain”,输入要绑定的域名就OK了。
不过前提是要绑定的域名使用了Google Apps服务,注册地址http://www.google.com/a/cpanel/domain/new ,就是企业邮局之类的东东,大家可以试试mail.allengao.com ,呵呵是不是和Gmail一样啊,有了企业邮局,我就
可以拥有任意长度的email地址了,比如
回到GAE绑定域名上,然后按照提示修改域名的CNAME记录,就OK了

可以拥有任意长度的email地址了,比如
手机注册是收费的么?
@蜡笔小强: 是免费的,只是一个验证码
我貌似不成功的样子哦~~
Add domain 时提示
Sorry, you’ve reached a login page for a domain that isn’t using Google Apps. Please check the web address and try again
而注册Google Apps时提示
Google Apps does not currently support domains in this country.
郁闷。。。你是怎么做到的?
@movoin 不要选择中国大陆,选香港或者美国。是cn域名吗?大写CN试试
@AG 注册Google Apps是做什么用的?会不会要修改我域名的DNS解析?会不会对我日后的域名管理有影响?
@movoin 不会有任何影响,就是一些google的免费服务,比如xxx@yourdomain.com免费企业邮局之类
@AG 谢谢~~~
貌似很神秘
看我的micolog博客,哈哈
原来注册过 不过当时企业邮局经常被GW干掉
不错的东东。
[...] 大蜘蛛:Google App Engine (GAE)注册与部署 [...]
这个注册容易上传难啊~
我注册过了,之前也放了个GAP应用了,怎么现在创建新的时还要注册,但是填我的手机说我注册过了
@fishbone 这我就不知道了,难道Google改变策略了?
难道是我很久没有做新应用了吗
双击update.bat(或者自己在命令行界面下输入appcfg.py update 博客程序所在目录),会提示你输入email,然后是密码(密码是没有回显的,输入完回车即可)
双击update.bat 后自动运行几个DOS对话框,又消失了,后面就没有动静了,没有出息博主所述的“会提示你输入email” 原因是什么?
@青山焱
试试自己在命令行界面下输入appcfg.py update 博客程序所在目录呢
一样的效果。怎么办呢?
@青山焱 dos对话框里什么内容?
*********DOS对话框中内容*******************
F:\tools\micolog0.7rc1\micolog>update
F:\tools\micolog0.7rc1\micolog>appcfg.py update ../micolog
Traceback (most recent call last):
File “C:\Program Files\Google\google_appengine\appcfg.py”, line 68, in
run_file(__file__, globals())
File “C:\Program Files\Google\google_appengine\appcfg.py”, line 64, in run_fil
e
execfile(script_path, globals_)
NameError: global name ‘execfile’ is not defined
*******C:\Program Files\Google\google_appengine\appcfg.py 文件内容*******
def run_file(file_path, globals_, script_dir=SCRIPT_DIR):
“”"Execute the file at the specified path with the passed-in globals.”"”
fix_sys_path()
script_name = os.path.basename(file_path)
script_name = SCRIPT_EXCEPTIONS.get(script_name, script_name)
script_path = os.path.join(script_dir, script_name)
execfile(script_path, globals_) ***********line64
if __name__ == ‘__main__’:
run_file(__file__, globals()) ***********line64
请帮忙看看什么原因?
@青山焱 可能是python环境没有搭建好,要不你再用GoogleAppEngineLauncher试试(图形化界面的,其中的deploy应该是用来上传到GAE的,’具体是不是我也不清楚,好久没用了’),
http://googleappengine.googlecode.com/files/GoogleAppEngine_1.3.3.msi
[...] http://www.allengao.com/blog/register-gae-google-app-engine-apply.html [...]
Google App Engine 爱好者交流QQ群:9152640
大家来群里交流交流啊
Google App Engine 爱好者交流QQ群:9152640
大家来群里交流交流啊
大写失效了
表示用上了,情绪稳定。
[...] 大蜘蛛:Google App Engine (GAE)注册与部署 [...]
[...] http://www.allengao.com/blog/register-gae-google-app-engine-apply.html [...]
This is my first time i go post. I collected so many interesting things in your site especially its discussion. From the tons of comments on your posts, I guess I am not the only one having all the enjoyment here! keep up the good work.Regards By academic
Usually, fashion, considered as fads, is extremely changeable. Then, what is actually the fashion trend?
In fact, your closet, for example, can answer it. When it comes to the fashion industry, it’s a continuously changing world. Even though some
trend
Usually, fashion, considered as fads, is extremely changeable. Then, what is actually the fashion trend?
In fact, your closet, for example, can answer it. When it comes to the fashion industry, it’s a continuously changing world. Even though some
trend
Thnkx so much for this! I have not been this thrilled by a post for a long time! You have got it, whatever that means in blogging. Well, You are definitely someone that has something to say that people need to hear. Keep up the great work. Keep on inspirin
怎么我也注册不了啊