Google App Engine入门全攻略!!!

Google App Engine是google提供的免费虚拟主机。高性能、速度快。目前只支持python。

注册地址  http://appengine.google.com/

中国大陆的手机收不到验证的时候。用以下方法:

到这里 http://appengine.google.com/waitlist/sms_issues 填写说明,等待管理员给你开通.很快的.

格式如下:

china

china mobile

I can't receive the sms code with my phone +86{11位手机号码}

 

注册之后 下载 http://www.python.org/  python  再下载 Download the App Engine SDK.

安装完成,我们现在开始测试他自带的demo。

 

cmd运行 dev_appserver.py demos/guestbook   启动本地测试,他会帮你自动生成index.yaml文件  不要关闭此命令行窗口

在打开一个窗口 cmd运行  appcfg.py  update demos/guestbook  上传程序

 

好了你已经可以看到你的google虚拟主机上的第一个程序了.

 

这是我的 http://1.latest.gxtiou2009.appspot.com/  速度快~~~~~ 哈

 

绑定域名

 

在gae管理面板

 

Versions -Add Domain... -Sign up for Google Apps -输入你的域名(.cn 要大写)。 后面的地区要选美国等发达地区、要验证域名所有权的。

------------

下边就是你对python的熟练问题了

 

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Google App Engine is a web application hosting service. By “web application,” we mean an application or service accessed over the Web, usually with a web browser: storefronts with shopping carts, social networking sites, multiplayer games, mobile applications, survey applications, project management, collaboration, publishing, and all the other things we’re discovering are good uses for the Web. App Engine can serve traditional website content too, such as documents and images, but the environment is especially designed for real-time dynamic applications. In particular, Google App Engine is designed to host applications with many simulta- neous users. When an application can serve many simultaneous users without degrad- ing performance, we say it scales. Applications written for App Engine scale automat- ically. As more people use the application, App Engine allocates more resources for the application and manages the use of those resources. The application itself does not need to know anything about the resources it is using. Unlike traditional web hosting or self-managed servers, with Google App Engine, you only pay for the resources you use. These resources are measured down to the gigabyte. Billed resources include CPU usage, storage per month, incoming and outgoing band- width, and several resources specific to App Engine services. To help you get started, every developer gets a certain amount of resources for free, enough for small applica- tions with low traffic. App Engine can be described as three parts: application instances, scalable data storage, and scalable services. In this chapter, we look at each of these parts at a high level. We also discuss features of App Engine for deploying and managing web applications, and for building websites integrated with other Google offerings such as Google Apps, Google Accounts, and Google Cloud Storage.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值