MEAN mongoDB, Express, Angular, NodeJs
IOC 개념 DI
https://code.visualstudio.com/ 형상관리툴 gradle Star Team tjoeun tj5565611* 이동이 가능하게 포터블 버전으로 설치했다.
nodejs
- Windows Binary (.zip) https://nodejs.org/en/download/
D:\ts2\node-v8.9.1-win-x64 환경변수 등록
- 환경변수 등록 path에 D:\ts2\Microsoft VS Code\bin 등록했다.
64-bit Git for Windows Portable을 사용 https://git-scm.com/download/win
D:\ts2\PortableGit 환경변수 등록
크롬 v8엔진 nodejs>>> commonJs AMD
---- 추가된 data type typescript Tuple Enum Any void Never 데이터타입 추가 https://www.youtube.com/watch?v=yaZkjvwKaas
- 깃 레포지토리 복사
https://github.com/devjoo/ang2.git
- 컨트롤+~
- 일단 깃버전 확인
- git --version
- git init 으로 빈 깃 레포지터리 생성
D:\ts2\works\test>git --version
git version 2.15.1.windows.2
D:\ts2\works\test>git init
Initialized empty Git repository in D:/ts2/works/test/.git/
- 연결 시키기
D:\ts2\works\test>git remote add origin https://github.com/devjoo/ang2.git
- git add, commit
D:\ts2\works\test>git add *
D:\ts2\works\test>git commit -m "init project"
- git push
D:\ts2\works\test>git push origin master
remote: Permission to devjoo/ang2.git denied to jinahchoi.
fatal: unable to access 'https://github.com/devjoo/ang2.git/': The requested URL returned error: 403
D:\ts2\works\test>git config user.email "leejiwoo28@naver.com"
D:\ts2\works\test3>git init
Initialized empty Git repository in D:/ts2/works/test3/.git/
D:\ts2\works\test3>git remote add origin https://github.com/ParkKyoungHun/ang2.git
D:\ts2\works\test3>git pull origin master
CTRL+ Shift + b tasks.json
##IOC, DI 개념 알아오기
어디에 쓰였는지 따라 this는 모두 다르다 아래 경우는 td this는 자바스크립트가 가지고 있는 특정 변수, 스트링으로 'this'넣으면 안된다
str += '<td onclick="cl(this)">' + i + 'x' + j + '=' + ( i*j) + '</td>';