0

I have just downloaded the Heroku Toolbelt yet I can see nothing on my PC or in the Program files directory that indicates how to run the toolbelt. Also Facebook now require secure browsing yet I don't want to pay for a SSL certificate as my apps are for learning code only. I would be very grateful if someone could explain how I run the toolbelt - last time I installed it it seemed ok. Also how does Heroku know which app I am uploading?

4

1 回答 1

1

好吧,工具带是一个命令行界面,因此您需要启动命令提示符。

要运行工具带(在 Windows 7 中或使用“从此处打开命令提示符”Microsoft Powertoys)创建一个空文件夹,按住 Shift + 鼠标右键单击,选择“在此处打开命令窗口”。然后(假设工具带安装在您的路径中)运行

heroku login

接着

heroku create

这将创建一个用于编码的工作目录。当您运行时git push heroku master,它会将您的工作代码发送到您的实例。阅读本指南以了解更多高级用法。

至于您的第三个问题,它会根据您运行它时所在的当前目录知道。我不会考虑与其他 2 相关的第二个问题,所以如果您想要一个明确的答案,我建议将其作为一个单独的问题提出。

于 2012-09-17T21:50:02.443 回答