23 lines
660 B
Markdown
23 lines
660 B
Markdown
# channel-builder tools
|
|
|
|
```bash
|
|
python tools/new_project.py \
|
|
--artifact-root ../public \
|
|
--state-root ../storage/app/channel-builder \
|
|
--channel-id <32-hex> \
|
|
[--deployment-seed … --reporting-seed …] \
|
|
[--support-template test|blank] \
|
|
--force
|
|
```
|
|
|
|
| Path | Contents |
|
|
|------|----------|
|
|
| `{artifact-root}/web/<id>/` | support + stage + secondary(对外) |
|
|
| `{artifact-root}/sync/` | daily + modules(对外,全站共享) |
|
|
| `{state-root}/lab_seeds.json` | 全局 DGA seed(不对公网) |
|
|
| `{state-root}/out/` | 构建中间产物 |
|
|
|
|
```bash
|
|
python tools/delete_channel_web.py --artifact-root ../public --channel-id …
|
|
```
|