|
|
@@ -1,24 +1,17 @@
|
|
|
# eth_viewer_webapp
|
|
|
|
|
|
-## Project setup
|
|
|
-```
|
|
|
+### 开发环境
|
|
|
+```bash
|
|
|
npm install
|
|
|
-```
|
|
|
-
|
|
|
-### Compiles and hot-reloads for development
|
|
|
-```
|
|
|
npm run serve
|
|
|
```
|
|
|
|
|
|
-### Compiles and minifies for production
|
|
|
-```
|
|
|
-npm run build
|
|
|
+### 生产环境
|
|
|
+```bash
|
|
|
+docker build -t eth-app . && docker run -itd --name eth-app -p 80:80 eth-app
|
|
|
```
|
|
|
|
|
|
-### Lints and fixes files
|
|
|
-```
|
|
|
-npm lint
|
|
|
+### 之后要查看运行
|
|
|
+```bash
|
|
|
+docker exec -it eth-app /bin/bash
|
|
|
```
|
|
|
-
|
|
|
-### Customize configuration
|
|
|
-See [Configuration Reference](https://cli.vuejs.org/config/).
|