[英]travis setup heroku command on Windows 7 64 bit
Hi there I'm trying to deploy my python app using Travis CI but I'm running into problems when I run the "travis setup heroku" command in the cmd prompt. 嗨,我正在尝试使用Travis CI部署python应用程序,但是在cmd提示符下运行“ travis setup heroku”命令时遇到了问题。
I'm in my project's root directory, there is an existing ".travis.yml" file in that root directory. 我在项目的根目录中,该根目录中有一个现有的“ .travis.yml”文件。
I've also installed ruby correctly and travis correcty because when I run: 我还正确安装了ruby并正确安装了travis,因为在运行时:
When I run "travis setup heroku" I get this message "The system cannot find the path specified" then prompts me for a "Heroku API token:" 当我运行“ travis setup heroku”时,收到此消息“系统找不到指定的路径”,然后提示我输入“ Heroku API令牌:”
What's the issue? 怎么了
If you hadn't had Heroku Toolbelt setup to the $PATH environment variable during installation, here are some steps to check: 如果在安装过程中没有将Heroku Toolbelt设置为$ PATH环境变量,请执行以下步骤:
;
;
then paste in your Heroku CLI folder and click OK. cmd
to be restarted manually) cmd
) heroku auth:token
heroku auth:token
获取令牌密钥 travis setup heroku
if the setup goes smoothly, you shouldn't get the command not found and prompt you for heroku auth key. travis setup heroku
,您不应获取未找到的命令,并提示您输入heroku身份验证密钥。 It will ask that you want to encrypt the auth key (highly recommend) and verify the information you provided with the toolbelt and Travis CLI.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.