38 lines
636 B
Markdown
38 lines
636 B
Markdown
# Quickstart Of Build
|
|
|
|
## Platform
|
|
|
|
OS: Ubuntu 18.04 / 22.04 (Recommendation)
|
|
|
|
Golang: go1.24.2 (or above)
|
|
|
|
Database: 10.6.16-MariaDB, Redis server v=5.0.5 (or above)
|
|
|
|
node.js: v20.18.0 (or above)
|
|
|
|
## Build Guide
|
|
|
|
### Pull Code
|
|
|
|
`pwd` default in `/root`
|
|
|
|
```bash
|
|
git clone https://xxx@git/ems.git omc.git
|
|
cd omc.git && ls
|
|
# be.ems build.ems fe.ems.vue3
|
|
cp build.ems/pkg-* .
|
|
```
|
|
|
|
### Build System Pageage Manager
|
|
|
|
Modify the information in the script as appropriate
|
|
|
|
```bash
|
|
# Universal
|
|
bash pkg.sh --web --api -v 2.2508.1
|
|
# RemoveChinese
|
|
bash pkg-remove-chinese.sh --web --api -v 2.2508.1
|
|
# Docker
|
|
bash pkg-docker.sh -v 2.2508.1
|
|
```
|