JCC-RIP/README.md

46 lines
683 B
Markdown
Raw Permalink Normal View History

2021-03-18 11:31:48 +08:00
# JCCE
2021-05-19 17:47:47 +08:00
Thanks to KubeSphere and Harvester for providing back-end support for this system.
2024-02-23 11:31:20 +08:00
## need node environment
2020-11-20 20:11:31 +08:00
2024-02-23 11:31:20 +08:00
## install dependencies
2020-11-09 08:54:40 +08:00
2020-11-10 15:36:19 +08:00
```
npm install
2020-11-09 08:54:40 +08:00
```
2024-02-23 11:31:20 +08:00
### Commands for Compilation and Hot Reloading
2020-11-20 20:11:31 +08:00
2020-11-10 15:36:19 +08:00
```
2021-01-07 08:49:54 +08:00
npm run dev
2020-11-10 15:36:19 +08:00
```
2020-11-09 08:54:40 +08:00
2024-02-23 11:31:20 +08:00
### Production Environment Build Commands
2020-11-09 08:54:40 +08:00
2020-11-10 15:36:19 +08:00
```
2020-11-20 20:11:31 +08:00
npm run build
2020-11-09 08:54:40 +08:00
```
2021-01-06 17:50:10 +08:00
2021-01-21 17:43:14 +08:00
```bash
# build for test environment
npm run build:stage
2021-01-06 17:50:10 +08:00
2021-01-21 17:43:14 +08:00
# build for production environment
npm run build:prod
```
## Advanced
```bash
# preview the release environment effect
npm run preview
# preview the release environment effect + static resource analysis
npm run preview -- --report
# code format check
npm run lint
# code format check and auto fix
npm run lint -- --fix
```