feat: build update
This commit is contained in:
81
README.md
Normal file
81
README.md
Normal file
@@ -0,0 +1,81 @@
|
||||
# WANFi Controller & Billing System
|
||||
|
||||
## 构建目录
|
||||
|
||||
```text
|
||||
build.wfc/
|
||||
├── bin # build binary file
|
||||
├── build # build directory
|
||||
│ ├── bin
|
||||
│ ├── docker
|
||||
│ │ ├── mysql
|
||||
│ │ │ ├── conf
|
||||
│ │ │ ├── data
|
||||
│ │ │ ├── db
|
||||
│ │ │ └── logs
|
||||
│ │ ├── nacos
|
||||
│ │ │ ├── conf
|
||||
│ │ │ └── logs
|
||||
│ │ ├── nginx
|
||||
│ │ │ ├── conf
|
||||
│ │ │ ├── conf.d
|
||||
│ │ │ ├── html
|
||||
│ │ │ └── logs
|
||||
│ │ ├── redis
|
||||
│ │ │ ├── conf
|
||||
│ │ │ └── data
|
||||
│ │ └── wfc
|
||||
│ │ ├── auth
|
||||
│ │ │ └── jar
|
||||
│ │ ├── gateway
|
||||
│ │ │ └── jar
|
||||
│ │ ├── modules
|
||||
│ │ │ ├── file
|
||||
│ │ │ │ └── jar
|
||||
│ │ │ ├── gen
|
||||
│ │ │ │ └── jar
|
||||
│ │ │ ├── job
|
||||
│ │ │ │ └── jar
|
||||
│ │ │ ├── payment
|
||||
│ │ │ │ └── jar
|
||||
│ │ │ ├── system
|
||||
│ │ │ │ └── jar
|
||||
│ │ │ └── user
|
||||
│ │ │ └── jar
|
||||
│ │ ├── upload
|
||||
│ │ └── visual
|
||||
│ │ └── monitor
|
||||
│ │ └── jar
|
||||
│ └── systemd # system service daemon file saved here
|
||||
│ └── system
|
||||
├── debbuild # deb build directory, not ready
|
||||
│ ├── DEBIAN
|
||||
│ ├── etc
|
||||
│ └── opt
|
||||
│ └── wfc
|
||||
├── docs
|
||||
│ ├── 01-requirement
|
||||
│ ├── 02-design
|
||||
│ └── 03-configuration
|
||||
└── release
|
||||
├── debs # deb package release, n/a
|
||||
└── tars # tar package release
|
||||
```
|
||||
|
||||
## 准备工作
|
||||
|
||||
```text
|
||||
JDK >= 1.8 (推荐1.8版本)
|
||||
Mysql >= 5.7.0 (推荐5.7版本) # docker内部构建
|
||||
Redis >= 3.0 # docker内部构建
|
||||
Maven >= 3.0
|
||||
nacos >= 2.0.4
|
||||
sentinel >= 1.6.0 (optional)
|
||||
```
|
||||
|
||||
## 构建发布包
|
||||
|
||||
```sh
|
||||
cd bin
|
||||
./build.sh tar
|
||||
```
|
||||
Reference in New Issue
Block a user