로컬 작업환경 설정

윈도우 계열 PC를 사용하고 있다면 아래의 URL에서 Node.js를 설치하면 된다.


본 블로그에서는 WebStorm을 사용하려고 함.  WebStorm은 유료이기 때문에 알아서들 구하셔야 합니다

WebStorm 설정

  • 웹스톰 실행 후 프로젝트 새로실행(Node.js)
  • File > Setting으로 설정창을 열기
  • Languages and Frameworks > Node.js and NPM 을 선택
  • Node Interpreter에 설치한 node.exe의 위치를 입력
  • Node.js Core Modules의 소스코드 위치에는 Node.js의 Source를 다운받은 root 디렉토리를 설정
  • Languages and Frameworks > Javascript > Libraries 에서 node.js 관련된 항목이 모두 check되었는지 확인
test.js 파일 생성 후 테스트 로그 작성.
node test.js 로 정상 작동되는지 확인.




출처 : https://velopert.com/195
출처 : http://dakoostech.blogspot.kr/2015/03/windows-81-webstorm-nodejs.html


'웹 개발 > Node.js' 카테고리의 다른 글

Node.js 맛보기  (0) 2017.05.11
[Node.JS]소개  (0) 2017.05.11

+ Recent posts