Test & Launch

Complete reference for how AityUahn works, how to launch it, and how to verify every layer. Version 0.2.1.

How it works

AityUahn has three layers that can run in different places:

Browser  ──forge──►  http://127.0.0.1:8765     (your PC)
Browser  ──auth──►  https://YOUR-APP.vercel.app  (defaultSaasApi)

Controller header pills: Forge live + optional cloud v…. Never paste the Vercel URL into the forge field.

Launch paths

A — One-line install

PowerShell:

irm https://raw.githubusercontent.com/HyperlinksSpace/AityUahn/main/scripts/install.ps1 | iex

Git Bash:

curl -LsSf https://raw.githubusercontent.com/HyperlinksSpace/AityUahn/main/scripts/install.sh | sh

Then: cd ~/AityUahn (or %USERPROFILE%\AityUahn) → serve.bat or aityuahn serve.

B — Windows .exe

Download aityuahn-installer.exe (requires Python 3.11+).

C — Developer clone

git clone https://github.com/HyperlinksSpace/AityUahn.git
cd AityUahn
python -m venv .venv && source .venv/Scripts/activate
pip install -e ".[dev]"
cp config/forge.example.yaml forge.yaml && cp .env.example .env
aityuahn serve --demo

Step-by-step launch

  1. Edit forge.yaml — set workspace_root
  2. Run aityuahn serve --demo — keep terminal open
  3. Open Controller at http://127.0.0.1:8765/controller.html
  4. Paste http://127.0.0.1:8765ConnectForge live
  5. Optional cloud: deploy Vercel, set defaultSaasApi in config, rebuild Pages

Verify setup

curl http://127.0.0.1:8765/api/health
aityuahn verify
aityuahn doctor
aityuahn version
bash scripts/verify_setup.sh          # Git Bash
.\scripts\verify_setup.ps1            # PowerShell

Expected forge health: "ok": true, "role": "forge", "version": "0.2.1".

With cloud: SAAS_URL=https://YOUR-APP.vercel.app bash scripts/verify_setup.sh

Testing checklist (summary)

LayerQuick testPass
CLIaityuahn versionprints version
Forgecurl …/api/healthrole=forge, ok=true
UIConnect in controllerForge live pill
KanbanMove a taskNo error
Demo?demo=1Works without API
Cloudcurl …/api/health on Vercelrole=saas, ok=true
AuthRegister on landingToken returned
Devpytest -qAll green

Full 22-item checklist: TEST_AND_LAUNCH.md §5

Windows notes

Troubleshooting

ProblemFix
Connect fails from PagesUse UI from aityuahn serve or ngrok tunnel
“Expected forge… got saas”Forge URL must be :8765, not Vercel
Cloud pill shows issuesSet DATABASE_URL + AITYUAHN_JWT_SECRET on Vercel
Sign-in 405 on PagesSet defaultSaasApi in config.json
doctor forge failStart aityuahn serve

More docs