從我的網站/應用程序目錄:混帳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.是否有其他原因/解決方案?