노드와 Express 개발환경 설정에 대해서 정리해 놓는다.
1. 노드 설치
http://nodejs.org/
2. 노드 express 설치
$ npm install -g express
3. eclipse 설치
http://www.eclipse.org/downloads/
4. eclipse nodeclipse plugin 설치
Help -> eclipse Marketplace -> "nodeclipse" 검색 및 설치
5. eclicse node express 프로젝트 생성
app.js -> 우클릭 -> run as node application
http://localhost:3000 접속 후 화면이 뜨면 OK
실행이 안되는 문제
java jdk가 1.7이상인지 확인
http://stackoverflow.com/questions/21340527/nodeclipse-unable-to-run-even-the-simplest-app
I have uninstalled nodeclipse, updated to 1.7.0_51 and reinstalled nodeclipse. The problem seems to be solved with this new configuration.