프로젝트 초기세팅 과정

taeheech·2020년 7월 26일

1. CRA 초기세팅

(1) CRA설치

원하는 디렉토리로 이동 후,

$ npx create-react-app westagram-project

(2) React Router설치

$ npm install react-router-dom --save

(3) Sass설치

$ npm install node-sass --save

(4) CRA 폴더 및 파일 구성

2. github repo 연동 및 push

CRA 초기세팅 후,

(1) 해당 프로젝트를 add, commit

(2) 해당 프로젝트를 github repo와 연동

git remote add origin (해당 repo 주소)

(3) 연동된 repo로 push

(4) 해당 repo의 remote master에 코드가 merge 되면 다른 팀원들은 각자의 local에 clone

git clone (해당 repo 주소)

(5) branch 생성 후, 작업 시작

git branch feature/taehee

0개의 댓글