|
|
@@ -0,0 +1,52 @@
|
|
|
+# gin-vue-admin web
|
|
|
+## Project setup
|
|
|
+```
|
|
|
+docker build -t registry.cn-hangzhou.aliyuncs.com/zifeng6257/qiqi-erp-web:v108 .
|
|
|
+docker push registry.cn-hangzhou.aliyuncs.com/zifeng6257/qiqi-erp-web:v109
|
|
|
+docker pull registry.cn-hangzhou.aliyuncs.com/zifeng6257/qiqi-erp-web:v108
|
|
|
+```
|
|
|
+## Project setup
|
|
|
+```
|
|
|
+npm install
|
|
|
+```
|
|
|
+### Compiles and hot-reloads for development
|
|
|
+
|
|
|
+```
|
|
|
+npm run serve
|
|
|
+```
|
|
|
+
|
|
|
+### Compiles and minifies for production
|
|
|
+
|
|
|
+```
|
|
|
+npm run build
|
|
|
+```
|
|
|
+
|
|
|
+```bash 打包主服务
|
|
|
+ #制作镜像
|
|
|
+ docker build -f Dockerfile -t registry.cn-hangzhou.aliyuncs.com/zifeng6257/qiqi-erp-web:v501 .
|
|
|
+```
|
|
|
+
|
|
|
+
|
|
|
+```bash 打包主服务
|
|
|
+ #制作镜像
|
|
|
+ docker push registry.cn-hangzhou.aliyuncs.com/zifeng6257/qiqi-erp-web:v501
|
|
|
+```
|
|
|
+
|
|
|
+### Run your tests
|
|
|
+
|
|
|
+```
|
|
|
+npm run test
|
|
|
+```
|
|
|
+
|
|
|
+### Lints and fixes files
|
|
|
+```
|
|
|
+npm run lint
|
|
|
+```
|
|
|
+### build docker image
|
|
|
+```text
|
|
|
+docker build -t registry.cn-hangzhou.aliyuncs.com/zifeng6257/qiqi-erp-web:v83 .
|
|
|
+```
|
|
|
+### push image to aliyun
|
|
|
+```text
|
|
|
+docker push registry.cn-hangzhou.aliyuncs.com/zifeng6257/qiqi-erp-web:v83
|
|
|
+```
|