티스토리 뷰

형상관리툴 - codecommit (AWS)

front - react

back - amplify(AWS)

 

cd ~

mkdir  .aws

cd  ~/.aws

 

 

** 여기서 aws  프로필 만드는 방법이 두개있는데

1. aws 폴더 만들어서 config , credentials 를 만든다!

 

vi config

[default]

region=ap-northeast-2

 

 

vi credentials

[default]

aws_access_key_id={your aws_access_key_id}

aws_secret_access_key={your aws_secret_access_key}

 

2.@aws-amplify/cli 를 설정해준다!

 

git clone {repository https url}

cd 프로젝트 이름

 

# git remote branch 등 정보 가져오기

git remote update

 

# git branch 확인

git branch -a

 

# git remote branch 중에서 dev만 가져오면 됨

git checkout -t origin/dev

 

# git branch 생성

git checkout -b {branch.name}

git push origin {branch.name}

 

# yarn node_modules download

yarn install

 

# amplify backend pull / 조건 입력 필요할 수도

amplify pull

 

# amplify 환경 확인 : dev로 되어 있어야 함

amplfiy status

# gatsby 없으면 깔아주기

 

# gatsby 로컬 개발 서버 실행

gatsby develop

 

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/06   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
글 보관함