docs: add enterprise code channel offline install guide
This commit is contained in:
parent
5615453e4e
commit
31dc1cccb0
7 changed files with 144 additions and 3 deletions
|
|
@ -488,6 +488,10 @@ def bootstrap() -> None:
|
|||
config_target = STATE_ROOT / "config" / "app.ini"
|
||||
shutil.copyfile(config_source, config_target)
|
||||
config_target.chmod(0o600)
|
||||
custom_source = pathlib.Path(__file__).with_name("custom")
|
||||
custom_target = STATE_ROOT / "data" / "custom"
|
||||
if custom_source.is_dir():
|
||||
shutil.copytree(custom_source, custom_target, dirs_exist_ok=True)
|
||||
set_status(stage="launching")
|
||||
log_path = STATE_ROOT / "logs" / "hlcc.log"
|
||||
log_handle = log_path.open("ab", buffering=0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue