google-code-export / snova

Automatically exported from code.google.com/p/snova
1 stars 4 forks source link

部署Heroku c4问题!!高手请进,鸭梨山大!! #226

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
我的c4放在了d盘根目录,改名为190.war了,然后如图就是到hero
ku deploy:war --war <path_to_war_file> --app <app_name> 
这一步就是不成功!!
我以为是路径的问题,然后路径我试过这几种:
heroku deploy:war --war d:/190.war --app aihmw 
heroku deploy:war --war d://190.war --app aihmw
heroku deploy:war --war d:\190.war --app aihmw
heroku deploy:war --war d:\\190.war --app aihmw
heroku deploy:war --war ./190.war --app aihmw

都不不行,提示错误
!    `deploy:war` is not a heroku command.
!    See `heroku help` for a list of available commands.
如图所示,求人帮帮忙了,谢谢各位!!

Original issue reported on code.google.com by aihm...@gmail.com on 4 Dec 2012 at 7:38

Attachments:

GoogleCodeExporter commented 9 years ago
仔细看wiki,前面有一步骤
heroku plugins:install https://github.com/heroku/heroku-deploy

Original comment by yinqiwen@gmail.com on 4 Dec 2012 at 7:40

GoogleCodeExporter commented 9 years ago
那个步骤我做了

Original comment by aihm...@gmail.com on 4 Dec 2012 at 7:43

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
晕,你怎么怀疑我那个步骤没做啊,如果我没做,我还能创建appna
me吗。。

Original comment by aihm...@gmail.com on 4 Dec 2012 at 7:45

GoogleCodeExporter commented 9 years ago
如果装过旧的heroku工具,需要执行heroku 
update后再执行上面命令

Original comment by yinqiwen@gmail.com on 4 Dec 2012 at 7:45

GoogleCodeExporter commented 9 years ago
感谢各位,已近可以了,我还有一个问题就是,Heroku能创建多少��
�app啊,还有每个app的流量又是多少啊?请教了。。。谢谢

Original comment by aihm...@gmail.com on 4 Dec 2012 at 7:50

GoogleCodeExporter commented 9 years ago
去heroku官方站点看看确认下吧,印象是 总流量2T/month

Original comment by yinqiwen@gmail.com on 4 Dec 2012 at 7:53

GoogleCodeExporter commented 9 years ago
cd D:/
heroku deploy:war --war 190.war --app aihmw

Original comment by aihm...@gmail.com on 4 Dec 2012 at 8:33

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
用eclipse不就不用敲命令行了吗?

Original comment by bibup...@gmail.com on 4 Dec 2012 at 9:52

GoogleCodeExporter commented 9 years ago
呵呵,看到这个issue,知道你说eclipse不是日食的恐怕不到十��
�之一

Original comment by yinqiwen@gmail.com on 4 Dec 2012 at 9:59

GoogleCodeExporter commented 9 years ago
d:/ 去掉就好了

Original comment by huai...@gmail.com on 4 Dec 2012 at 10:52

GoogleCodeExporter commented 9 years ago
会用eclipse应该也不会开这个issue了。。。

Original comment by dycuo...@gmail.com on 4 Dec 2012 at 7:29

GoogleCodeExporter commented 9 years ago
手動輸入以及兩個 --   符號
正確值行了。
複製的就是不行。

Original comment by fudong1...@gmail.com on 26 Apr 2013 at 7:27