posted by Full-stack Developer 2014. 6. 27. 18:06
Step 1. 설치

설치방법 설명 URL : http://www.nodeclipse.org/updates/
  1. node.js install
    1. URL : http://www.nodejs.org/download/
    2. OS에 맞춰 설치 (windows의경우 c\nodejs 폴더에 설치하는 것 권장. 찾기쉽기때문)
    3. (windows 경우)cmd창을 열어 nodejs설치한 경로로 이동
    4. 아래의 명령어를 차례로 입력
      1. npm install -g nodeclipse
      2. npm install -g express-generator
      3. npm install -g express
        • npm install -g express 설치 결과 예시 이미지
  2. JDK 7이상 설치
    • URL : http://www.oracle.com/technetwork/java/javase/downloads/index.html
  3. eclipse 세팅
    • nodeclipse 설치(선택)
      1. URL : http://sourceforge.net/projects/nodeclipse/files/Enide-Studio-2014/0.11-preview/Enide-Studio-2014-011-20140228-win64.zip/download
    • 기존 사용하던 eclipse에 plug in(선택)
      1. plug in URL : http://www.nodeclipse.org/updates/
      2. http://www.nodeclipse.org/updates/에 접속하여 버튼을 기존사용하는 eclipse에 드래그&드랍
        • 설치할 체크리스트
    • perspective 설정

Step 2. hello world


  1. File(상단텝) -> New -> Node.js Project or project explorer 우클릭 -> New -> Node.js Project
  2. project name을 기입하고, template을 hello world로 체크
  3. hello-world-server.js파일 우클릭 -> Run as(or Debug as) -> Node Application 클릭
  4. 테스트
    1. eclipse의 console에서 아래의 문구가 떠야한다.
    2. browser에서 테스트



Step 3. Chat Server


'Programming > Web Programming' 카테고리의 다른 글

JavaScript 개요  (0) 2014.06.24
webapp deploy in tomcat 7.0  (0) 2014.04.16
javascript - oop  (0) 2014.03.14
javascipt Date객체 formatting yyyy-MM-dd hh:mm:ss  (0) 2014.01.13
jQuery - jQuery 시작하기  (0) 2011.11.10