add deploy comands
This commit is contained in:
parent
47f2a80f9e
commit
f0270dd2b2
2 changed files with 10 additions and 1 deletions
7
deploy.md
Normal file
7
deploy.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# UI
|
||||||
|
|
||||||
|
cd ui && npm run build && npm run deploy
|
||||||
|
|
||||||
|
# Server
|
||||||
|
|
||||||
|
cd server && npm run dev
|
|
@ -28,6 +28,7 @@
|
||||||
"react-scripts": "5.0.1",
|
"react-scripts": "5.0.1",
|
||||||
"reflect-metadata": "^0.1.13",
|
"reflect-metadata": "^0.1.13",
|
||||||
"sass": "^1.66.1",
|
"sass": "^1.66.1",
|
||||||
|
"serve": "^14.2.1",
|
||||||
"socket.io-client": "^4.7.2",
|
"socket.io-client": "^4.7.2",
|
||||||
"three": "^0.159.0",
|
"three": "^0.159.0",
|
||||||
"three-stdlib": "^2.28.9",
|
"three-stdlib": "^2.28.9",
|
||||||
|
@ -42,7 +43,8 @@
|
||||||
"dev": "react-scripts start",
|
"dev": "react-scripts start",
|
||||||
"build": "react-scripts build",
|
"build": "react-scripts build",
|
||||||
"test": "react-scripts test",
|
"test": "react-scripts test",
|
||||||
"eject": "react-scripts eject"
|
"eject": "react-scripts eject",
|
||||||
|
"deploy": "serve -s build"
|
||||||
},
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
"extends": [
|
"extends": [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue