0%

heroku로 react 배포하기

1
2
3
4
5
6
7
8
9
10
1. 터미널에서 원하는 폴더 진입
2. npm install -g create-react-app
3. create-react-app "리액트 프로젝트명"
4. cd "리액트 프로젝트명"
5. git init
6. heroku create "프로젝트명" -b https://github.com/mars/create-react-app-buildpack.git
7. git add .
8. git commit -m "커밋 메시지"
9. git push heroku master
10. heroku open