make frontend dev/prod ready
This commit is contained in:
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
cp ./config/config_dev.json ./config/config.json
|
||||
|
||||
npm install
|
||||
npm run dev
|
||||
Executable
+7
@@ -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