Git的aws.push:“aws.push'不是一个混帐命令 [英] git aws.push: 'aws.push' is not a git command

查看:247
本文介绍了Git的aws.push:“aws.push'不是一个混帐命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从我的网站/应用程序目录:

From my site/application directory:

$ git aws.push
git: 'aws.push' is not a git command. See 'git --help'.

的git --help 并没有帮助。

所有我看过EB命令行界面之前写的帖子(CLI)3.x的是一个东西。

All the posts I have read were written before EB Command Line Interface (CLI) 3.x was a thing.

我按照官方说明在这里: 的http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3-getting-set-up.html

I followed the official instructions here: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3-getting-set-up.html

在这里: 的http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_PHP_eb.sdlc.html

不幸的是,后者仍表示为:

Unfortunately, the latter still says to:

$ export PATH=$PATH:<path to unzipped eb CLI package>/eb/linux/python2.7/

但我不知道这条道路,因为我没有下载并解压包。我安装的 awsebcli 使用的 PIP ,按说明书的第一个环节上面。

But I don't know that path because I didn't download and unzip a package. I installed awsebcli using pip, as per the instructions on the first link above.

一切似乎是在地方。我有字preSS配置和在本地运行(OS X /阿帕奇)用遥控器RDS MySQL数据库。这并不是说的申请事项的内容。我的AWS IAM凭据(经提示)输入。

Everything else seems to be in place. I have WordPress configured and running locally (OS X/Apache) with the remote RDS MySQL database. Not that the contents of the application matter. My AWS IAM credentials are entered (via the prompt).

EB创建命令的作品!它上传我的本地应用程序(文件)完美。但我不希望创建一个新的应用程序/环境。我已经有一个,我只是想混帐推我的文件吧。

eb create commands works! And it uploads my local application (files) perfectly. But I don't want to create a new application/environment. I already have one and I just want to git push my files to it.

1。我如何才能找到 /eb/linux/python2.7 / 这样我就可以设置这条道路?
2。有一些其他原因/解决方案?

1. How can I find /eb/linux/python2.7/ so I can set that PATH?
2. Is there some other reason/solution?

推荐答案

解决方法:

eb deploy

原来 EB --help 是一个很大的帮助。

Turns out eb --help WAS a big help.

但愚蠢的是,那是因为我坐在那里呆呆的盯着屏幕,内存慢跑,我记得看到命令 EB部署其他地方(在网站上)

But stupidly enough, it was as I sat there staring blankly at the screen that a memory jogged and I recalled seeing the command eb deploy somewhere else (on a website).

我试了一下。它的工作。

I tried it. It worked.

如果您正在使用的 AWS弹性魔豆CLI 3.X ...

If you are using AWS Elastic Beanstalk CLI 3.x

不要使用混帐aws.push

Do not use git aws.push!

相反,使用 EB部署来更新你的应用程序版本。

Instead, use eb deploy to update your application version.

这篇关于Git的aws.push:“aws.push'不是一个混帐命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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