make frontend dev/prod ready
This commit is contained in:
6
src/frontend_vue/ops_scripts/dev.sh
Executable file
6
src/frontend_vue/ops_scripts/dev.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
cp ./config/config_dev.json ./config/config.json
|
||||
|
||||
npm install
|
||||
npm run dev
|
||||
7
src/frontend_vue/ops_scripts/prod.sh
Executable file
7
src/frontend_vue/ops_scripts/prod.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
cp ./config/config_prod.json ./config/config.json
|
||||
|
||||
npm install
|
||||
npm run build
|
||||
http-server /src/dist
|
||||
Reference in New Issue
Block a user