Tunko Development Diary

[Nast.js] 애플리케이션 프로젝트 생성 본문

Development/Nest.js

[Nast.js] 애플리케이션 프로젝트 생성

Tunko 2021. 4. 10. 01:13
  1. 터미널
  2. 프로젝트 경로 이동
  3. nest 입력 동작 확인
  4. nest g application 입력
  5. 프로젝트 명 입력
  6. 폴더 생성 확인
  7. 터미널에서 프로젝트 경로 진입후 [code .] 입력
  8. visual studio code 가 열린 후 터미널에서 npm i 입력
  9. 설치 완료
  10. nom run start:dev 입력
  11. 서버 구동 확인
  12. 웹사이트 주소에 http://localhost:3000 진입 확인
  13. GitHub 에서 프로젝트 리퍼지토리 생성
  14. 프로젝트 터미널 git init 입력
  15. git remote add {리퍼지토리주소}
  16. code extensions 에서 gitignore 설치
  17. 좌측 아래 톱니 바퀴 Command Palette 클릭
  18. Add gitignore 엔터
  19. node 입력 엔터 -> node.js 용 gitignore 추가
    >git add *
    >git commit -m "project init"
    >git push origin master
  20. done
반응형
Comments