
워드 문서를 참조하시면 그림과 함께 보실 수 있습니다.
heroku
가입, heroku-toolbelt를 다운
git bash를 열어서 ssh-keygen
1. Github 가입
2. ‘New repository’ click
3. 필요한 항목 기입
4. Windows용 github tool 다운 후 로그인
5. ‘refresh’ click
6. ‘clone’ click
이렇게 하면 C:\Users\컴퓨터 이름\Documents\GitHub에 폴더가 생성된다.
여기다가 소스를 넣는다.(이제 여기서 개발을 한다.)
7. https://github.com/heroku/node-js-sample 에서 샘플 소스를 다운 받고 압축 푼다.
8. 압축 푼 소스를 생성한 repository에 넣는다.
9. 데이터를 넣은 폴더를 더블 클릭한다
10. 커밋 정보를 기입하고 commit 버튼 클릭
11. Push된 파일들을 볼 수 있다.
12. repository에서 오른쪽 버튼 Git Bash
13. git clone git://github.com/사용자이름/repository명
14. cd repository명
15. heroku create
16. git push heroku master
17. heroku open
http://pure-reef-5243.herokuapp.com/
18. repository – git bash
20.
참고 사이트
http://leechwin.tistory.com/46
commit -> push
push 명령어 : git push heroku master
heroku
heroku open
폴더가 있을 경우에는 github 홈페이지에서
폴더명/ 파일명.md 임시로 파일을 만든다.
그러면 폴더가 생성이 되고 sync가 된다.!!!,
깃허브 폴더 생성
Heroku socket.io에서 xml request error
http://stackoverflow.com/questions/6223867/can-i-set-up-socket-io-chat-on-heroku
'Old > NODE.JS' 카테고리의 다른 글
heroku에서 log 보기 (0) | 2013.10.25 |
---|---|
Jade 모듈 (0) | 2013.10.23 |
EJS 모듈 (0) | 2013.10.23 |
MongoDB (0) | 2013.10.23 |
Mongo DB 설치 (0) | 2013.10.23 |