创建一个App Engine项目ID命令行 [英] Create an App Engine Project ID command line

查看:54
本文介绍了创建一个App Engine项目ID命令行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过命令行创建应用引擎ID.现在,我们的工具( http://deploy.plus.io )可让您将模板上传到您的应用引擎,但用户仍然必须通过Google.

I am trying to create an app engine ID through command line. Right now our tool (http://deploy.plus.io) allows you to upload our template to your app engine, but the user still has to go through Google.

我们理想的工作流程是:

Our ideal workflow would be:

用户登录(Google OAuth)>部署实例>代码在后台上传>看到密钥&App Spot项目URL +通过电子邮件获取(密钥* App Spot项目URL)

User Signs In (Google OAuth) > Deploy Instance > Code gets uploaded in background > Sees Secret Key & App Spot Project URL + Gets Emailed (Secret Key * App Spot Project URL)

我们希望这种情况在2次点击中发生.(登录并部署)

We want this to happen within 2 clicks. (Login and Deploy)

是否可以通过类似于AWS设置方式的API创建应用引擎实例?

Is it possible to create app engine instances via an API similar to how AWS is setup?

如果有人正在考虑尝试解决同一问题,那么您可以使用App Engine的命令行工具并使用其请求令牌对用户进行身份验证.

If anyone is looking at this trying to solve the same problem I was you can use the command line tools for App Engine and authenticate a user using their request token.

推荐答案

为使用户拥有自己的GAE帐户,他们需要拥有Gmail/GoogleApps帐户并自己创建一个新的GAE应用程序.Afaik,您不能用他们的名字来创建它.

In order for user to own their own GAE account they need to have Gmail/GoogleApps account and create a new GAE application themselves. Afaik, you can not create that in their name.

OTOH,他们可以通过您的Web应用程序通过OAuth授予您的应用程序管理员权限,从而将代码(您的代码)部署到其GAE应用程序中.就像 Codenvy 一样.

OTOH, they can deploy (your) code to their GAE app, via your web application, by giving your app admin privileges via OAuth. Much like Codenvy does.

这篇关于创建一个App Engine项目ID命令行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆