-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
윈도우에서 실행되지 않았던 스크립트를 실행되도록 수정함 때문에 이 파일에는 맥용과 윈도우용 스크립트가 같이 있음 -ishue:#3
- Loading branch information
Showing
1 changed file
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |