This commit is contained in:
xsxx03-art
2026-06-03 10:06:48 +08:00
parent cf28676756
commit 9b4f43f0b1
202 changed files with 14111 additions and 10107 deletions
+22
View File
@@ -0,0 +1,22 @@
<#
Description: PowerShell utility script for launching the intranet/server workflow.
Inside functions: N/A - procedural PowerShell startup commands.
Developer : Qin Yue @ 2026
Organization : OptiHK Limited
#>
$ErrorActionPreference = "Stop"
# Provide a development-safe secret when the deployment environment has not
# supplied one yet.
if (-not $env:MXPIC_SECRET_KEY) {
$env:MXPIC_SECRET_KEY = "replace-this-with-a-long-random-office-secret"
}
# Bind the Flask server to the intranet-facing interface with production debug
# behavior disabled.
$env:MXPIC_HOST = "0.0.0.0"
$env:MXPIC_PORT = "3000"
$env:MXPIC_DEBUG = "0"
# Start the backend API and static frontend server.
python backend\server.py