¥119.90

One-time template price with installation and customization

One-click private deployment after purchase, details

Choose a payment method

Live preview
Version 1.0.0 Updated 11/26/2026 0 downloads · 0 deployments HR & Finance

Deployment Guide

For buyers and delivery partners: everything from unpacking the upload package to a working installation. Target: any machine that runs Docker (cloud host or a back-office PC), single container, public port 8080.

  • Version: 1.1.0 (slug aischedule)
  • Deployment: single container (intematrix.deploy.json: mode: single, port: 8080)
  • Health check: GET /api/health (returns a features capability list and the process startedAt)
  • Data directory: /app/data (sqlite.db plus uploads) — a volume is mandatory
  • Local development: bun run dev (development ports exist only when running the sources; the container always listens on 8080 — see §5)

1. Five-minute deployment (docker compose, recommended)

The upload package already contains build artifacts (apps/web/dist and apps/api/out), so the image runs artifacts and never builds. The first start only needs to pull the base image.

1.1 Decide three things first

docker-compose.yml ships six base variables (NODE_ENV / PORT / PUBLIC_DIR / DB_DRIVER / DATABASE_URL / UPLOAD_DIR) and three owner variables (SUPER_ADMIN_*), with JWT_SECRET as an environment placeholder. Replace these with your own values:

    environment:
      # …keep NODE_ENV / PORT / PUBLIC_DIR / DB_DRIVER / DATABASE_URL / UPLOAD_DIR…
      JWT_SECRET: ${JWT_SECRET:?please set JWT_SECRET}   # fails fast instead of shipping a default secret
      SUPER_ADMIN_EMAIL: ${SUPER_ADMIN_EMAIL:-admin@example.com}
      SUPER_ADMIN_NAME: ${SUPER_ADMIN_NAME:-Wang Min}
      SUPER_ADMIN_PASSWORD: ${SUPER_ADMIN_PASSWORD:-Admin@123456}

The key point: exporting a variable on the host does not put it in the container. Either write it into the compose environment: block or use a docker.env file with env_file: docker.env.

Then set values, unpack and start:

# 1. Unpack (the unpacked directory is the build context)
unzip aischedule-upload.zip -d aischedule && cd aischedule

# 2. Generate a random JWT secret (never ship dev-secret-change-me)
export JWT_SECRET="$(head -c 48 /dev/urandom | base64)"

# 3. Choose the owner account (created on first start only)
export SUPER_ADMIN_EMAIL="you@your-company.com"
export SUPER_ADMIN_PASSWORD="use-a-strong-password"
export SUPER_ADMIN_NAME="Your Name"

Windows PowerShell equivalent:

$env:JWT_SECRET = [Convert]::ToBase64String((1..48 | ForEach-Object { Get-Random -Max 256 }))
$env:SUPER_ADMIN_EMAIL = "you@your-company.com"
$env:SUPER_ADMIN_PASSWORD = "use-a-strong-password"
$env:SUPER_ADMIN_NAME = "Your Name"

The owner account is created only on first start, when that email does not exist yet. Adding SUPER_ADMIN_* after the database exists neither creates a new account nor changes the existing password (change it from the console, or disable and recreate it under System settings → Accounts).

Outside production, seedSuperAdmin aligns the owner password with SUPER_ADMIN_PASSWORD. In production it creates but never rewrites, so a restart cannot silently reset a live password.

1.2 Start

docker compose up -d

Then open http://localhost:8080 — the public landing page.

docker compose ps                      # container status
docker compose logs -f app             # first start runs migrations, schema, permission/role seeds, owner account
curl -s http://127.0.0.1:8080/api/health

docker-compose.yml already mounts the app-data volume at /app/data, maps 8080:8080 (written as ${PORT:-8080}:8080 — do not change either 8080), and defines a 30-second healthcheck. Never remove the volume, or a container rebuild wipes your data.

1.3 60-second post-deployment checklist

  1. http://<your-host>:8080/ loads the product landing page.
  2. GET /api/health returns status: ok, version: 1.1.0, and features contains schedule.bootstrap, schedule.action, schedule.reports, schedule.accounts and schedule.aiPlan.
  3. /login accepts the owner account (the production build does not show the demo identity panel — expected).
  4. After login you land on /console with six sidebar groups: Scheduling / Collaboration / Payroll & publishing / Master data / System / System settings.
  5. /console/schedule shows this week's roster (the demo roster is seeded on first read).
  6. docker compose exec app ls -la /app/data shows sqlite.db and uploads.

2. What runs inside the container

One container does three jobs, all on 8080:

Responsibility Details
Static hosting Elysia's staticPlugin serves /app/public (that is apps/web/dist) at /. The frontend uses HashRouter (pages live at #/...), so no server-side deep-link fallback is needed
Runtime configuration GET /config.js is emitted by the API's onRequest hook as window.__IMX_CONFIG__ (apiMode, apiBase from PUBLIC_API_MODE / PUBLIC_API_BASE) and takes precedence over the static file of the same name in dist; the frontend reads it before deciding between the real API and demo data
REST API Everything under /api: /api/health, /api/auth/*, /api/users/*, /api/schedule/* (bootstrap / action / reports / stats / ai-plan / accounts / mine), /api/logs/*, /api/app/identity, /api/system-config, /api/ai-config, /api/ws. Swagger is at /docs; uploads are served at /upload/*

Startup hooks (idempotent, run on every boot — see onStart in apps/api/src/app.ts):

  1. Run migrations for the configured dialect (MIGRATIONS_DIR, /app/drizzle in the container).
  2. Seed the default tenant t-default plus permissions, roles and menus.
  3. Create the owner from SUPER_ADMIN_EMAIL / SUPER_ADMIN_NAME / SUPER_ADMIN_PASSWORD (unchanged if it already exists in production).
  4. Write the four business positions (admin / supervisor / manager / staff) and 13 permission codes, then bind the demo accounts to positions and visible stores.
  5. Write system-config defaults (including app identity app.identity).
  6. Create the roster document table sched_document.
  7. Start infrastructure (rate limiting, queue, scheduler, metrics, WebSocket).

Demo roster data (3 stores, 5 positions, 12 shift templates, 66 employees, three versions, requests, leave, audits) is not seeded at boot. It is written when roster state is first read (loadState in apps/api/src/schedule/db.ts seeds when sched_document is empty).

3. How the frontend talks to the backend: /config.js

The first thing index.html loads is ./config.js, which only tells the frontend two values:

Runtime value Frontend behaviour Produced by
apiMode=http Calls /api/schedule/* and stores data in SQLite Default (PUBLIC_API_MODE left empty)
apiMode=mock Runs the same scheduling engine in the browser, data in localStorage, one-click reset Set PUBLIC_API_MODE=mock
  • GET /config.js is served by the API itself: an onRequest hook in apps/api/src/app.ts reads PUBLIC_API_MODE (default http) and PUBLIC_API_BASE (default /api) and returns window.__IMX_CONFIG__ = { apiMode, apiBase } with cache-control: no-store.
  • Why onRequest rather than a normal route: apps/web/dist also contains a static config.js (a marketplace scaffold requirement) and the static plugin claims that path first, so a plain .get('/config.js') would never be reached. onRequest runs before route matching, so environment variables win over the static file.
  • That means one image can run either way: empty in production (http, data persisted) or PUBLIC_API_MODE=mock to run a deployment in demo mode (data stays in the browser and the login page shows the demo identity panel). Restart the container after changing it; no rebuild needed, because this is a runtime switch rather than a database setting.
  • apiBase defaults to /api; only change it if your reverse proxy rewrites the API prefix.

4. Environment variables

Authoritative source: apps/api/src/env.ts (MIGRATIONS_DIR is read directly from process.env in apps/api/src/db/migrate.ts; AI settings are read in apps/api/src/ai/config.ts and catalog.ts; PUBLIC_API_MODE / PUBLIC_API_BASE are read by the onRequest hook in apps/api/src/app.ts).

4.1 Runtime and port

Variable Default Required Notes
NODE_ENV development in code / production in the image production in production Only production serves the static frontend; test lowers the default log level to warn
PORT 3000 in code / 8080 in the image Keep 8080 Listen port. Dockerfile, compose and intematrix.deploy.json all say 8080; changing it breaks the platform health check and the port mapping
PUBLIC_DIR /app/public Set by the image Frontend build output directory
PUBLIC_API_MODE http Optional Read by the API when serving GET /config.js: http uses the real API, mock runs entirely in the browser. Leave empty in production; set mock to run the same image in demo mode
PUBLIC_API_BASE /api Optional Same source; the API prefix. Only change it when a reverse proxy rewrites the path
LOG_LEVEL info Optional debug / info / warn / error

4.2 Data and storage

Variable Default Required Notes
DB_DRIVER sqlite Must be sqlite With mysql / postgres the platform layer connects, but the roster module fails with "only DB_DRIVER=sqlite is supported" (see §11)
DATABASE_URL /app/data/sqlite.db Set by the image For SQLite this is the database file path
MIGRATIONS_DIR /app/drizzle Set by the image Migration scripts directory
UPLOAD_DIR /app/data/uploads Set by the image Upload root; public URLs are always /upload/...
STORAGE_DRIVER local Optional Only local works; s3 / oss are placeholder adapters

4.3 Secrets and accounts

Variable Default Required Notes
JWT_SECRET dev-secret-change-me Required in production (random) Signs and verifies JWTs. Rotating it invalidates issued tokens; users simply sign in again
SUPER_ADMIN_EMAIL admin@example.com Required in production Owner email created on first start
SUPER_ADMIN_NAME Super Admin in code / Wang Min in compose Recommended Owner display name
SUPER_ADMIN_PASSWORD Admin@123456 Required in production Leaving the default is a public password
AI_CONFIG_SECRET none Required if keys are stored in the console Model keys entered in the console are AES-256-GCM encrypted into KV. Rotating this makes stored keys unreadable — re-enter them; without it the system still runs using environment-variable keys
CORS_ORIGIN * Optional Allowed cross-origin sources. Keep the default for same-origin deployments
RATE_LIMIT_LOGIN_PER_MINUTE 30 Optional Login/registration attempts per IP per minute; <=0 disables. Counters live in process memory and reset on restart
WS_TICKET_TTL_SEC 60 Optional WebSocket one-time ticket lifetime in seconds

4.4 AI models (all optional)

Without them everything still works: AI scheduling falls back to the rule engine and the UI labels the result and the reason.

Variable Default Notes
AI_PROVIDER openai Provider id: openai / anthropic / google / xai / mistral / groq / deepseek / cerebras / cohere / fireworks / togetherai / perplexity / deepinfra / openrouter / azure / gateway
AI_MODEL Provider default For example deepseek-chat
AI_BASE_URL Provider default Set this for a self-hosted gateway or compatible endpoint
AI_API_KEY none Generic key; when empty, the provider-specific variable is read instead
OPENAI_API_KEY none OpenAI (default provider)
ANTHROPIC_API_KEY none Anthropic
GOOGLE_GENERATIVE_AI_API_KEY none Google
XAI_API_KEY none xAI
MISTRAL_API_KEY none Mistral
GROQ_API_KEY none Groq
DEEPSEEK_API_KEY none DeepSeek
CEREBRAS_API_KEY none Cerebras
COHERE_API_KEY none Cohere
FIREWORKS_API_KEY none Fireworks
TOGETHER_AI_API_KEY none Together AI
PERPLEXITY_API_KEY none Perplexity
DEEPINFRA_API_KEY none DeepInfra
OPENROUTER_API_KEY none OpenRouter
AZURE_API_KEY none Azure OpenAI
AI_GATEWAY_API_KEY none Vercel AI Gateway

Precedence: values stored in KV via System settings → AI configuration override environment variables. If a key exists in KV it wins; without AI_CONFIG_SECRET the console cannot store keys and only environment variables apply.

Not read by this package: DEMO_SEED, TZ (nothing in the code reads them; the container runs in UTC by default — add TZ=Asia/Shanghai in compose if you want local timestamps, though roster dates are plain date strings and unaffected).

4.5 Notifications and external services (placeholders)

Variable Default Notes
MAIL_PROVIDER console Prints mail to the log; smtp / ses are not implemented
MAIL_FROM no-reply@example.com Sender address
SMS_PROVIDER console Prints to the log; aliyun / twilio are not implemented

5. Local development

# Requires Bun >= 1.4
bun install

bun run dev         # web on http://localhost:5173 and API on http://127.0.0.1:3000

bun run dev:web     # web only, 5173
bun run dev:api     # API only, 3000, Swagger at /docs
  • Vite proxies /api and /upload to http://127.0.0.1:3000; if that port is taken, set API_PORT or VITE_API_PROXY (see apps/web/src/lib/api-proxy.ts).
  • In development apiMode comes from .env.development (default mock, so the UI works without a backend). Use bun run dev:http to hit the real API.
  • Build outputs are mutually exclusive: bun run build produces http artifacts, bun run build:mock produces mock-only frontend artifacts. Ship one of them.
  • 5173 / 3000 are development ports that only exist when you run the sources on your own machine. A container deployment listens on 8080 and nothing else — do not put development ports into proxies or platform settings.

6. Data, backup and restore

6.1 Where the data is

Content Location Notes
Roster data (org, positions, employees, shifts, versions, requests, leave, unavailability, templates, audits, recycle bin) the sched_document table in sqlite.db One JSON row per aggregate root (tenant_id / kind / id / json); the whole state is read and written at once
Accounts, roles, permissions, menus, tenants, system config, notices, operation/login logs other tables in sqlite.db Same file
App identity (brand, logo letter, colour, contacts, filing number) system_config key app.identity There is no separate JSON file
Uploaded files /app/data/uploads (public at /upload/...) Same directory as the database

6.2 How to back up

Database and uploads both live in /app/data; stop the container and copy the directory.

# Option 1: stop and copy (safest, recommended)
docker compose stop app
docker compose cp app:/app/data ./backup-$(date +%Y%m%d-%H%M)
docker compose start app

# Option 2: back up the whole volume
docker run --rm -v aischedule_app-data:/data -v "$PWD":/backup alpine \
  tar czf /backup/aischedule-data-$(date +%Y%m%d).tgz -C /data .
  • Frequency: once a day, keeping 30 days, is enough for a small chain; take an extra copy before go-live and before every upgrade.
  • Keep backups off the same disk as the database.
  • "Take backup now" under Tools → Data backup creates a business-level snapshot record (time, table count, row count), not a file backup. Use the commands above for real backups.

6.3 How to restore

# 1. Stop
docker compose stop app

# 2. Put the backup back at the same path: /app/data (whole directory, or sqlite.db + uploads)
docker compose cp ./backup-20260101-0900/. app:/app/data/

# 3. Start (migrations run, older databases gain missing tables)
docker compose start app

Roster state is overwritten as a whole JSON document: restoring means rolling back the entire database. There is no per-record incremental restore. The recycle bin restores business objects such as versions and templates.

6.4 Getting data out for analysis

# A. Export directly (outside the container, with sqlite3)
docker compose cp app:/app/data/sqlite.db ./sqlite.db
sqlite3 -header -csv ./sqlite.db \
  "select kind, count(*) from sched_document group by kind;" > sched-summary.csv

# B. Through the API (sign in, keep the token, script the rest; same maths as the UI)
curl -s -H "Authorization: Bearer $TOKEN" "http://127.0.0.1:8080/api/schedule/reports"

Main tables: sched_document (roster data, JSON), users, roles, permissions, menus, tenants, system_config, notifications, operation_logs, login_logs.

7. Reverse proxy and HTTPS

The container listens on 8080 over HTTP. For a public domain with HTTPS, put Nginx / Caddy / a cloud load balancer in front and configure WebSocket upgrade and upload size together:

server {
    listen 443 ssl;
    server_name your-domain.example;        # your own domain
    client_max_body_size 120m;              # at least the single-file upload limit (100 MB default)

    location / {
        proxy_pass http://127.0.0.1:8080;
        proxy_set_header Host $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }

    # WebSocket one-time ticket channel (POST /api/ws/ticket, then upgrade on /api/ws?ticket=...)
    location /api/ws {
        proxy_pass http://127.0.0.1:8080;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
    }
}
  • Add one proxy layer only; never change the container's PORT.
  • The package hardcodes no domain, callback URL or internal subnet; the domain is your proxy's decision.
  • After enabling HTTPS, keep apiBase as the relative /api.

8. Upgrading

# 1. Back up first (see §6) — mandatory
docker compose stop app && docker compose cp app:/app/data ./backup-before-upgrade

# 2. Drop in the new package and rebuild the image (the data volume stays)
docker compose up -d --build
# Do not add -v; that would delete the data volume

# 3. Verify
curl -s http://127.0.0.1:8080/api/health

Verify with the health check's version, features and startedAt:

  • version reads 1.1.0, matching package.json; a mismatch means you are not running this package;
  • startedAt unchanged means the container did not restart — you are still running the old artifacts (it is the process start time);
  • a missing feature name means an old backend (redeploy, do not edit code).

Migrations run automatically at boot and older databases gain missing tables. Permission codes and roles are seeded idempotently, but new codes are not attached to existing roles — re-run the seed or grant manually (§11).

9. Troubleshooting

Symptom Most likely cause What to do
Health check keeps failing / container unhealthy Container did not start, migrations failed, or nothing listens on 8080 docker compose ps; docker compose logs --tail=200 app; docker compose exec app bun -e "await fetch('http://localhost:8080/api/health').then(r=>console.log(r.status))"
Port 8080 shows a blank page or 502 Wrong port mapping, or an empty static directory Confirm compose maps 8080:8080; docker compose exec app ls /app/public must show index.html and assets/
AI key configured but scheduling still says "rule-based" KV key unreadable after AI_CONFIG_SECRET changed, wrong provider/model, or an upstream error Check usedModel and reason in the POST /api/schedule/ai-plan response; re-enter the key under System settings → AI configuration and test connectivity; confirm AI_CONFIG_SECRET never changed
AI connects but returns no suggestions Model returned an empty array (the local solver already filled demand), non-JSON, or fabricated IDs that were filtered out By design: usedModel:true with an empty array means nothing needed adding; usedModel:false with a reason means the output was unusable. Try a stronger model or regenerate with different weights
Login returns 401 Wrong password, disabled account, or JWT_SECRET rotated (old tokens invalid) Sign in again; check the account status under System settings → Accounts
Business endpoint returns 403 "no permission to run xxx (needs code)" The account's business position lacks that permission code Check the matrix in PERMISSIONS §4; change the position or have the right person do it
403 "staff cannot run xxx" A staff account tried an administrative action (publish, rule change, recording unavailability…) This is the deliberate two-tier restriction; use a supervisor or administrator account
Staff signs in and the roster is empty The account is not bound to an employee record (users.employee_id) Bind it under System settings → Accounts; the API reports "this account is not linked to an employee record"
Only "My" is visible after staff sign-in Expected for the staff position Staff hold schedule:read plus request permissions only
Exported CSV shows garbled Chinese in Excel Downstream software changed the encoding, or a very old Excel ignores the BOM Exports already carry a UTF-8 BOM (\ufeff) and open correctly in Excel 2016+; otherwise import through Data → From Text/CSV with UTF-8. For garbled file names, download with Chrome or Edge
Data disappeared after a container rebuild No /app/data volume mounted, or docker compose down -v was run Mount the volume and restore from backup; never use -v when upgrading
Static assets 404 (page loads, styles and scripts do not) PUBLIC_DIR points elsewhere, or the package was replaced partially Confirm /app/public/index.html and /app/public/assets/* exist; rerun docker compose up -d --build
Login page shows demo identity buttons and data is not persisted PUBLIC_API_MODE=mock is still set in the container (/config.js reports apiMode: mock) Remove it or set http, then restart; verify with curl -s http://127.0.0.1:8080/config.js
Port already in use (bind: address already in use) Another service occupies host port 8080 Find it with docker compose ps / netstat -ano | findstr :8080 and stop it; this package is fixed on 8080, so do not move it
Roster endpoints report "only DB_DRIVER=sqlite is supported" DB_DRIVER was changed to mysql / postgres Set it back to sqlite (the roster module is SQLite-only; see §11)
The first page load is slow and blank for a few seconds The demo roster seed is being written (66 employees × 3 weeks) Expected, once only; docker compose logs shows the requests

10. Demo data and demo accounts (before go-live)

Demo roster data is seeded the first time roster state is read (when sched_document is empty). Demo accounts come from the startup seed:

Account Password Position
admin@example.com Admin@123456 Owner / super-admin (all stores, can enter System settings)
member@example.com Member@123456 Scheduling supervisor (Central Park + Riverside)
demo@example.com Demo@123456 Staff (Yang Haoran, employee record bound)
14 member accounts (@linjiang-tech.com and similar) Demo@123456 No business position (can sign in, see no roster)

The demo identities (the three buttons on the login page) appear only when apiMode=mock or ?mode=preview; the http production login page shows no demo panel and no seeded accounts or passwords. Seeing no demo accounts there is expected — type the credentials above instead.

Three things to do before going live (in this order):

  1. Change the owner password and secret: put SUPER_ADMIN_EMAIL / SUPER_ADMIN_PASSWORD / JWT_SECRET into the compose environment before the first start. On a running instance, change the password from the console (editing environment does not update an existing account).
  2. Deal with demo data: treat the demo stores, employees and shifts as samples and edit them into your own (renaming is faster than recreating); to start clean, back up and rebuild the database per §6. Note: an emptied sched_document table is reseeded on the next read.
  3. Disable the demo accounts: the three business accounts and the 14 demo members all have published passwords. Disable them under System settings → Accounts.

11. Changing the database, and the roster module limit

DB_DRIVER accepts sqlite / mysql / postgres, and multi-dialect schema plus migrations ship in the package (apps/api/src/db/schema/*, apps/api/drizzle/**). But the roster module is SQLite-only: clientOf() in apps/api/src/schedule/db.ts grabs the bun:sqlite client, so any other driver throws "cannot obtain the sqlite client for the roster module (only DB_DRIVER=sqlite is supported)".

Therefore:

  • Moving to MySQL or PostgreSQL first requires porting that persistence layer (replacing sched_document with one table per entity is the natural approach; business logic and routes stay untouched);
  • Before switching, run a full regression: empty database boot → sign in → create stores/positions/shifts/employees → generate → publish → export;
  • Permissions and roles are seeded idempotently, so the first boot on a new database recreates the 13 permission codes, four positions, menus and the owner — but existing accounts must be re-assigned to positions.

12. Packaging and redeploying after custom development

12.1 Build commands

bun run check          # design + i18n + permissions (every action registered) + web/api types
bun test               # frontend and backend suites (engine and privilege cases)

bun run build          # → apps/api/out/index.js + apps/web/dist (apiMode=http)
bun run check:dist     # must report apiMode=http, otherwise the upload gate rejects the package

bun run pack           # produces <name>-upload.zip
bun run verify:upload  # validates the package item by item

bun run pack:upload    # the whole chain in one command

The upload package must contain: the Dockerfile (it only runs artifacts), apps/web/dist/index.html and assets/**, apps/api/out/index.js, apps/api/drizzle/**/*.sql, docs/** (including docs.json and rag.json) and conversation.seed.json. verify:upload runs 33 checks for a single-container package (the few multi-container checks do not apply here) and also verifies "port is 8080 everywhere", "every .md under docs/ is declared in docs.json" and the rag.json field-length limits.

12.2 Redeploy

bun run pack:upload            # build and validate
docker compose down            # no -v
docker compose up -d --build   # rebuild the image, keep the data volume
curl -s http://127.0.0.1:8080/api/health

After editing apps/api/src/permissions.ts (codes, matrix, action map), besides repackaging, make sure roles in the database are re-granted: the simplest path is to clear the role-permission links and restart (the seed is idempotent), or re-save each affected account's position under System settings → Accounts, which re-assigns the role.

13. Health self-check: GET /api/health

curl -s http://127.0.0.1:8080/api/health
{
  "status": "ok",
  "service": "api",
  "version": "1.1.0",
  "features": [
    "schedule.bootstrap",
    "schedule.action",
    "schedule.scope",
    "schedule.reports",
    "schedule.stats",
    "schedule.reseed",
    "schedule.aiPlan",
    "schedule.accounts",
    "schedule.accounts.roles",
    "schedule.accounts.resetPassword",
    "schedule.accounts.delete",
    "schedule.mine",
    "schedule.mine.peers",
    "auth.login",
    "auth.me",
    "auth.changePassword",
    "auth.forcedPasswordChange",
    "app.identity",
    "system.config",
    "ai.config",
    "logs.operation",
    "logs.login",
    "monitor.stats",
    "files.upload"
  ],
  "startedAt": "2026-01-01T00:00:00.000Z",
  "timestamp": "2026-01-01T00:05:00.000Z"
}

features currently lists 24 capabilities (add one whenever you add an endpoint, so the count grows across versions); startedAt is the process start time — it changes on restart, not on build.

Diagnose in this order:

  1. A missing feature name means an old backend — redeploy, do not edit code;
  2. The feature exists but the endpoint 404s — that is a real code problem;
  3. startedAt unchanged means the container did not restart and you are running the previous artifacts;
  4. version disagreeing with the package's package.json means the image and the docs are out of step (both currently read 1.1.0).

14. Uninstall, migration and reset

  • Moving to another machine: back up /app/data → start on the new machine → restore the backup into /app/data → restart. No domain or port code changes.
  • Full uninstall: docker compose down -v (deletes the data volume; back up first).
  • Factory reset: stop the container → clear /app/data (or delete only sqlite.db) → start (tables, accounts and demo data are recreated).
  • Only clearing demo rosters: stop the container → drop the sched_document table from sqlite.db → start → the next read reseeds it (back up first if you have real data).

Frequently asked questions

What do I get after purchase?
The full source code (web frontend + API backend), deployment documentation and an online preview. After purchase you can download it from "My Projects" and use it for your own product.
Can it be deployed to my own server?
The Web + API edition supports one-click private deployment, so data stays on your own infrastructure. Mini-program and App add-on packages are not one-click deployable.
Can I get a refund?
Orders whose code package has not been downloaded can request a refund through a support ticket. Once the code package has been downloaded, refunds are not supported.
How do I reach support?
Open "My Projects" and click "Support" to submit a ticket. Staff reply inside the ticket, and status changes are pushed as WeChat notifications.

部署 API Key

用于「一键部署」与部署 Skill/脚本;明文经服务端 RSA 加密后由本页解密,不会明文出网。

你的 API Key(前缀 )
配置环境变量 INTEMATRIX_DEPLOY_APIKEY
export INTEMATRIX_DEPLOY_APIKEY=imd_xxx

macOS/Linux 追加到 ~/.zshrc 或 ~/.bashrc 可持久化;Windows 的 setx 需重开终端生效。

重置后旧 Key 立即失效;请勿把 Key 写进前端代码或提交到仓库。