목록2017/04/25 (3)
낭만 프로그래머
1. Atom 설치https://atom.io/ 2. angular 프로젝트 생성 ng new study 3. Atom 실행 cd study atom . 4. atom-typescript 패키지 설치- atom-typescript 로 검색 후 설치 5. linter 패키지 설치- linter 로 검색 후 설치참고 : https://github.com/steelbrain/linter 6. editorconfig 패키지 설치- editorconfig 로 검색 후 설치참고 : https://github.com/sindresorhus/atom-editorconfig 7. file-icons 패키지 설치- file-icons 로 검색 후 설치참고 : https://github.com/file-icons/atom
1. Node.js 설치http://blog.miyam.net/44 2. Angular CLI 설치 npm install -g angular-cli 3. 프로젝트 생성 ng new firstproject 4. 개발서버 시작 cd firstproject ng serve --host 0.0.0.0 --port 4201 --live-reload-port 49153 5. 운영서버 배포를 위한 빌드 ng build -> dist 폴더가 생성됨. 6. 방화벽 해제 ( 4021 Port)http://blog.miyam.net/7
1. https://nodejs.org/ko/download/ 접속해서 url 확인 하기 2. 다운로드 ( https로 되어 있는 것을 http로 변경 )wget http://nodejs.org/dist/v6.10.2/node-v6.10.2-linux-x64.tar.xz 3. 압축 해제 tar xf node-v6.10.2-linux-x64.tar.xz 4. 위치 이동 mv ./node-v6.10.2-linux-x64 /usr/local/nodejs 5. Path 설정을 위해 profile 수정 vi /etc/profile맨아래에 추가export NODE_HOME=/usr/local/nodejsexport PATH=$PATH:$NODE_HOME/bin source /etc/profile 6. 필요시 서버..