从我的网站/应用程序目录:混帐aws.push: 'aws.push' 不是一个git命令
$ git aws.push
git: 'aws.push' is not a git command. See 'git --help'.
git --help
没有帮助。
我读过的所有帖子都是在EB命令行界面(CLI)3.x之前编写的。
我跟着官方说明这里: 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
,可惜后者还说到:
$ export PATH=$PATH:<path to unzipped eb CLI package>/eb/linux/python2.7/
但我不知道,因为这条道路我没有下载并解压缩一个包。我按照上面第一个链接的说明安装了awsebcli使用pip。
其他一切似乎都已到位。我使用远程RDS MySQL数据库配置并在本地运行WordPress(OS X/Apache)。不是应用程序的内容。我的AWS IAM凭证已输入(通过提示)。
eb create
命令有效!它完美地上传我的本地应用程序(文件)。但我不想创建一个新的应用程序/环境。我已经有一个,我只想git push
我的文件。
1.我怎样才能找到/eb/linux/python2.7/
所以我可以设置PATH?
2.是否有其他原因/解决方案?