feat: 初始化项目结构并添加核心功能模块
- 新增文档模板和导航结构 - 实现服务器基础API路由和控制器 - 添加扩展插件配置和前端框架 - 引入多租户和权限管理模块 - 集成日志和数据库配置 - 添加核心业务模型和类型定义
This commit is contained in:
61
archive/handover/README (18).md
Normal file
61
archive/handover/README (18).md
Normal file
@@ -0,0 +1,61 @@
|
||||
# FreeSWITCH Build Dependencies
|
||||
|
||||
This directory is organized into subfolders, where each subfolder contains build instructions for a single Debian package. These packages are dependencies required to build FreeSWITCH's Debian packages.
|
||||
|
||||
## Recommended order of building:
|
||||
|
||||
- [libbroadvoice](libbroadvoice/README.md)
|
||||
- [libilbc](libilbc/README.md)
|
||||
- [libsilk](libsilk/README.md)
|
||||
- [spandsp](spandsp/README.md)
|
||||
- [sofia-sip](sofia-sip/README.md)
|
||||
- [libks](libks/README.md)
|
||||
- [signalwire-c](signalwire-c/README.md)
|
||||
- [libv8](libv8/README.md) (only for `AMD64`)
|
||||
|
||||
## Build Dependencies Script
|
||||
|
||||
A convenient script `build-dependencies.sh` is provided to automate the building of dependencies. This script offers several options to customize the build process.
|
||||
|
||||
### Usage
|
||||
|
||||
```bash
|
||||
./build-dependencies.sh [options] [library_names...]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
- `-h, --help`: Show the help message
|
||||
- `-b, --build-number N`: Set build number (default: 42 or env value)
|
||||
- `-a, --all`: Build all libraries
|
||||
- `-s, --setup`: Set up build environment before building
|
||||
- `-o, --output DIR`: Set output directory (default: /var/local/deb)
|
||||
- `-p, --prefix DIR`: Set source path prefix (default: /usr/src)
|
||||
- `-r, --repo`: Set up local repository after building
|
||||
- `-c, --clone`: Clone required repositories before building
|
||||
- `-g, --git-https`: Use HTTPS instead of SSH for git cloning
|
||||
|
||||
### Examples
|
||||
|
||||
Set up environment, clone repositories, and build all dependencies:
|
||||
```bash
|
||||
./build-dependencies.sh --build-number 123 --setup --all --repo --clone
|
||||
```
|
||||
|
||||
Complete build with all options (setup environment, build all libraries, create local repo, clone repos with HTTPS):
|
||||
```bash
|
||||
./build-dependencies.sh --build-number 123 --setup --all --repo --clone --git-https
|
||||
```
|
||||
|
||||
Build specific libraries with full automation:
|
||||
```bash
|
||||
./build-dependencies.sh --build-number 123 --setup --repo --clone --git-https libks signalwire-c
|
||||
```
|
||||
|
||||
### Running in Docker
|
||||
|
||||
You can run the build script inside a Docker container for a clean, isolated build environment:
|
||||
|
||||
```bash
|
||||
docker run -it -v $(pwd):/root/scripts debian:bookworm bash -c "cd /root/scripts && bash"
|
||||
```
|
||||
Reference in New Issue
Block a user