Skip to content

Commit

Permalink
Merge pull request #19 from JNU-econovation/hotfix
Browse files Browse the repository at this point in the history
fix : starter.sh 파일 예시 수정
  • Loading branch information
GiPyoo authored Jan 4, 2020
2 parents 2c768cc + f7d96d7 commit fa91b15
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions starter.sh-example.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,29 @@
# react - build
# OS X

## react - build

cd client && npm install
echo password | sudo -S rm -rf ./build/_ && npm run build
cd ../server && echo password | sudo -S rm -rf ./public/_
cd ..
cp -a ./client/build/. server/public

# express 실행
## express 실행

cd server && npm install
SET DEBUG=server:\* & npm start

# window

## react - build

cd client && npm install
rmdir /s /q build && npm run build
cd ../server && rmdir /s /q public
cd ..
cp -a ./client/build/. server/public

## express 실행

cd server && npm install
SET DEBUG=server:\* & npm start

0 comments on commit fa91b15

Please sign in to comment.