在heroku中部署ember和express

时间:2015-03-08 02:42:37

标签: heroku ember.js express deployment

我正在使用ember-cli和express作为服务器(不是模拟),步骤是什么 我该怎么办?我尝试了ember-cli,但它不包括快递...我也用github连接,我的日志是:

2015-03-08T02:38:29.848078+00:00 heroku[api]: Deploy b868570 by xxx@gmail.com
2015-03-08T02:38:29.848078+00:00 heroku[api]: Release v6 created by xxx@gmail.com
2015-03-08T02:38:30.082787+00:00 heroku[web.1]: State changed from crashed to starting
2015-03-08T02:38:37.353932+00:00 heroku[web.1]: Starting process with command `sh boot.sh`
2015-03-08T02:38:39.134915+00:00 app[web.1]: nginx: [emerg] "server" directive is not allowed here in /app/config/nginx.conf:4
2015-03-08T02:38:39.961113+00:00 heroku[web.1]: Process exited with status 1
2015-03-08T02:38:39.981607+00:00 heroku[web.1]: State changed from starting to crashed
2015-03-08T02:38:52.513415+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=conne.herokuapp.com request_id=ce29d7bf-2d26-4ead-ad4f-f8037d924410 fwd="177.129.71.147" dyno= connect= service= status=503 bytes=
2015-03-08T02:38:53.349045+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=conne.herokuapp.com request_id=2d98de70-f07e-473d-bb8e-e936b166b33e fwd="177.129.71.147" dyno= connect= service= status=503 bytes=

0 个答案:

没有答案