이것저것
nodejs 설치 및 grunt 설정
tobee
2023. 2. 23. 19:07
728x90
일단 두서 없이 써두는 것으로...
nodjs를 설치 하는 것부터 시작한다.

신뢰도 높은 것으로 선택한다.

ui-grid 다운받기
이 라이브러리는 ng-grid의 차기 버전이라고 생각해도 되는 것일까?
여하튼 stable 버전을 내고 있는 것으로 보인다.
다운받은 디렉토리에서 다음과 같이 배치 파일을 생성하였다.
call C:\DEV\Tools\nodejs\setenv.bat
call cmd
setenv.bat
SET APPDATA=C:\DEV\Tools\nodejs\AppData
SET NODE_JS_HOME=C:\DEV\Tools\nodejs
SET NPM_HOME=%APPDATA%\npm
SET PATH=%PATH%;%NODE_JS_HOME%;% NPM_HOME%
Grunt 설치
npm 잘 모른다... 다만 다음과 같이 설치 하면 되는 것으로..
npm install grunt-cli -g
npm install grunt-init -g
npm install grunt
npm install grunt-contrib-concat
npm install grunt-contrib-uglify
npm install grunt-contrib-qunit
npm install grunt-contrib-jshint
npm install grunt-contrib-watch
npm install time-grunt
npm install load-grunt-config
다음과 같이 node-modules 라는 폴더가 생성된 것을 확인할 수 있다.

그런데, 문제는 어케 컴파일 할 지 모르겠단 말씀, 그냥 넘어가기로 한다.
다음에 한번 다시 보지뭐....
AngularJS & ui-grid 설치
다음 명령어를 사용하면 해당 디렉토리에 해당 라이브러리들이 설치 되어 있는 것을 확인 해 볼 수 있다.
npm install angular-ui-grid
npm install jquery
UI-grid 테스트
테스트 해 놓은 사이트들이 좀 있어 보인다. 다음 사이트를 확인 해 보는 것으로 한다.
이상.
728x90