summerstar8 / snova

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

部署Snova C4的服务端到Heroku出错, #248

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
依照http://code.google.com/p/snova/wiki/NodeJsPaaSInstallation中的说明操�
��,在进行“heroku 
create”操作后,成功创建“xx.herokuapp.com”的域名,可是在进�
��之后的三个操作时,都提示“fatal: Not a git repository (or any of 
the parent directories): .git”,搜索了下说是要执行“git 
init”。然后结果如下:
D:\snova>git init
Initialized empty Git repository in D:/snova/.git/

再依次执行后续三个命令结果如下:
D:\snova>git add .
warning: LF will be replaced by CRLF in README.md.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in hashmap.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in server.js.
The file will have its original line endings in your working directory.

D:\snova>git commit -m "init"
[master (root-commit) d2894ba] init
 Committer: unknown <User@home-user.(none)>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:

    git config --global user.name "Your Name"
    git config --global user.email you@example.com

After doing this, you may fix the identity used for this commit with:

    git commit --amend --reset-author

warning: LF will be replaced by CRLF in README.md.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in hashmap.js.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in server.js.
The file will have its original line endings in your working directory.
 9 files changed, 735 insertions(+), 0 deletions(-)
 create mode 100644 Procfile
 create mode 100644 README.md
 create mode 100644 cd
 create mode 100644 dotcloud.yml
 create mode 100644 event.js
 create mode 100644 git
 create mode 100644 hashmap.js
 create mode 100644 heroku
 create mode 100644 index.html
 create mode 100644 package.json
 create mode 100644 server.js
 create mode 100644 supervisord.conf

D:\snova>git push heroku master
fatal: Invalid gitfile format: heroku
fatal: The remote end hung up unexpectedly

请问我部署成功了吗?前面几个“warning”和“fatal”对使用��
�影响吗?

Original issue reported on code.google.com by mj198...@gmail.com on 9 Dec 2012 at 3:55

GoogleCodeExporter commented 9 years ago
wiki写错了,修改了下,重新试下

Original comment by yinqiwen@gmail.com on 10 Dec 2012 at 1:18

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
哈哈,当了一回小白鼠,不会之前都没人反应过吧?
试了下,的确是可以了,能够打开Youtube,但是我发现配置文�
��(SPAC一节)中存在GFWList内容,是不是根据这个列表来判断�
��否走代理?用ip.cn验证了下,显示的依旧是本地IP,而whatismy
ip.com显示的是国外。
PS:发现打开whatismyip.com网站好慢,不知是这个网站的问题,�
��是HTTPS连接的问题。
另,之前错误生成的域名,是不是不能利用了?

Original comment by mj198...@gmail.com on 11 Dec 2012 at 4:15

GoogleCodeExporter commented 9 years ago
可以在heroku web界面上删掉

Original comment by yinqiwen@gmail.com on 12 Dec 2012 at 1:02

GoogleCodeExporter commented 9 years ago
谢谢

Original comment by mj198...@gmail.com on 12 Dec 2012 at 1:27