Total: Today: Yesterday:
'Git'에 해당되는 글 1건
2016.04.05 [Windows] node.js 시작하기
연구소/node.js | 2016. 4. 5. 16:27 | Posted by 자수씨

1. node.js 설치하기

 - node.js 홈페이지에 접속하여 LTS 버전을 다운로드 받습니다.

 - 포스팅 작성시점에는 v4.4.2 입니다.

 - LTS 는 Long-term Support 의 약어입니다.

 - 설치가 완료되면 cmd 창에서 "node -v" 명령으로 설치가 잘되었는지 확인합니다.



2. bootstrap 설치하기

 - HTML, CSS, JS 프레임워크

 - http://bootstrapk.com/

 - nodejs 가 설치된 경로(기본설치했을 경우 "C:\Program Files\nodejs")로 이동하여 다음의 명령어를 실행합니다.

 - "npm install bootstrap"


C:\> cd C:\Program Files\nodejs

C:\> npm install bootstrap




3. grunt 설치

 - 자바스크립트 task runner (자동화된 빌드도구?)

 - http://gruntjs.com/

 - 글로벌로 설치하기 위해 "-g" 옵션으로 설치합니다.

 

C:\> npm install grunt-cli -g



4. git 설치

 - 많은 오픈소스들이 git 으로 소스관리가 되어 있기 때문에 git 을 설치합니다.

 - https://git-scm.com

 - 자세한 설정은 잘 모르기 때문에 일단 "Next" 연타로 설치 완료//




5. "bootstrap" grunt task

 - bootstrap 을 grunt 로 빌드합니다.


C:\Program Files\nodejs> cd node_modules\bootstrap

C:\Program Files\nodejs\node_modules\bootstrap> npm install







위와 같이 나오면 bootstrap 빌드 완료?




뭐가 뭔지도 모르는 상태에 일단 따라하긴 했으나 앞으로 알아야 할 것이 너무 많아 보입니다...




References

1. http://50english.blog.me/220603479539

2. https://nodejs.org/en/

3. http://bootstrapk.com/

4. http://gruntjs.com/

5. https://git-scm.com/