我在安裝AWS Elastic Beanstalk命令行工具時遇到問題,但我不明白爲什麼。我已經從AWS下載了該軟件包,並仔細地遵循了該指示。以下是安裝說明:安裝AWS Elastic Beanstalk命令行工具包時遇到問題
== Installation Once you have downloaded the CLI package: 1) Unzip this archive to a location of your choosing. Eb is located in the "eb" directory. The complete CLI reference for more advanced scenarios can be found in the "api" directory. To add eb files to your path: Linux/Mac OS X (Bash shell): export PATH=$PATH:<path to eb> Windows: set PATH=<path to eb>;%PATH%
我使用的是Mac OS X的,所以我一直用出口PATH = $ PATH :.對於eb的路徑,我剛剛將文件複製到終端,導致export PATH=$PATH:/Users/lydia/Downloads/ElasticBeanstalk/eb/macosx/python2.7/eb
。我不確定我錯過了什麼,如果不先下載eb命令行,我不能部署。
你還沒有真正說過你遇到的問題是什麼。 Afaik在Mac上安裝beanstalk只是一個解壓縮下載地址的例子(在下載下可能不是一個好主意),然後將eb文件夾添加到您的路徑中。而已。現在您可以在eb文件夾中運行程序。 – jarmod