Ze zdrojového kódu
AI agent pro programování (např. Codex nebo Claude Code) připraví tři aktuální repozitáře se zdrojovým kódem tak, aby fungovaly společně, nastaví databázi PostgreSQL a spustí aplikaci.
Veřejná alfa · dostupný zdrojový kód
Vyzkoušejte alfa verzi ze zdrojového kódu na Windows, macOS nebo Linuxu. Chcete ji mít oddělenou od systému? Docker Compose spustí celou aplikaci i s databází PostgreSQL přímo u vás.
Způsob spuštění
Začněte zkušebním spuštěním na svém počítači. Na nainstalovanou aplikaci, kontejnery v Dockeru nebo trvale běžící webový server přejděte, až vám bude vyhovovat, jak se daná varianta spouští, aktualizuje a zálohuje.
AI agent pro programování (např. Codex nebo Claude Code) připraví tři aktuální repozitáře se zdrojovým kódem tak, aby fungovaly společně, nastaví databázi PostgreSQL a spustí aplikaci.
Agent připraví v Dockeru webovou aplikaci (jako linuxový kontejner) a samostatnou databázi PostgreSQL jen pro ni. Pak počká, až kontrola stavu potvrdí, že obojí běží.
Experimentální instalace pro aktuálního uživatele Windows – přípravu aplikace i databáze za vás obstará AI agent.
Nainstalujte aplikaci jako trvale běžící webovou službu, která nepotřebuje přihlášeného uživatele (tzv. headless). Hodí se, až budete chtít sami zajistit její provoz, zabezpečení a zálohy.
Stav pro macOS: spuštění ze zdrojového kódu pod přihlášeným uživatelem je pro testování alfy podporované. Aplikaci lze sestavit i pro macOS x64 a arm64, ale trvalý provoz jako headless služba zatím nebyl na skutečném Macu ověřen.
Příkazy spusťte v jedné nadřazené složce – git do ní stáhne tři složky vedle sebe. Dodržte přesné názvy včetně velkých a malých písmen: sestavení aplikace ve výchozím nastavení nepoužívá hotové balíčky, ale bere kód přímo z těchto sousedních repozitářů.
git clone --branch main --single-branch https://github.com/fyziktom/CanDoItAll.git
git clone --branch main --single-branch https://github.com/fyziktom/CanDoItAll.Components.git
git clone --branch main --single-branch https://github.com/fyziktom/CanDoItAll.FileTools.git
cd CanDoItAll
V Codexu nebo Claude Code (AI agentech pro programování) otevřete nadřazenou složku nebo repozitář CanDoItAll a vložte tento požadavek:
Prepare and run the current CanDoItAll public alpha from source on this Windows, macOS, or Linux machine. In one parent directory, clone or update only the main branches of https://github.com/fyziktom/CanDoItAll, https://github.com/fyziktom/CanDoItAll.Components, and https://github.com/fyziktom/CanDoItAll.FileTools using the exact sibling folder names CanDoItAll, CanDoItAll.Components, and CanDoItAll.FileTools. Before updating an existing clone, inspect its origin, branch, and working tree; preserve local changes and ask before any conflicting operation. Keep the default local source dependency mode and direct project references; do not replace Components or FileTools with package builds. Record the commit SHA of all three repositories. Read the current README and installing-instances documentation, use the SDK selected by global.json, prepare and start PostgreSQL 16 as documented for this host, apply the required database setup, and start the CanDoItAll web app. Stay with the setup until both /health and /api/runtime/operations pass. Then tell me the local URL, all three source commits, where app and database data are stored, and exactly how to stop and start everything again. Ask before requesting administrator access, installing system-wide software, changing external services, or replacing or removing existing data.
Prompt je záměrně v angličtině: AI agenti pro programování nejspolehlivěji plní přesné technické pokyny v jazyce, ve kterém je napsaná dokumentace produktu. Pokud chcete, aby vám agent odpovídal česky, připište na konec větu „Odpovídej česky.“
Kontrolní adresa /health potvrdí, že aplikace i databáze jsou připravené k práci. Adresa /api/runtime/operations navíc ukáže, na jaké platformě a s jakým provozním profilem aplikace běží, které funkce jsou dostupné a zda jsou připravené složky pro data – hesla ani jiné tajné údaje přitom nevypíše.
curl --fail http://127.0.0.1:5032/health
curl --fail http://127.0.0.1:5032/api/runtime/operations
Podle zvoleného způsobu spuštění může aplikace používat jiný port (číslo za dvojtečkou v adrese). Použijte adresu, kterou vypíše spuštěná aplikace nebo agent.
Připravený prompt pro agenta
Agent má připravit všechny tři repozitáře, heslo k databázi, kontejnery a kontroly připravenosti a nakonec vám vysvětlit, jak vše bezpečně zastavit.
Prepare and run the current CanDoItAll public alpha with Docker Compose on this machine. In one parent directory, clone or update only the main branches of https://github.com/fyziktom/CanDoItAll, https://github.com/fyziktom/CanDoItAll.Components, and https://github.com/fyziktom/CanDoItAll.FileTools using those exact sibling folder names. Before updating an existing clone, inspect its origin, branch, and working tree; preserve local changes and ask before any conflicting operation. Keep all three repositories connected as source build contexts and record their commit SHAs. Read the current container operations documentation, prove that a working Linux Docker Compose v2 engine is available, prepare the ignored .env and .secrets/db-password files with a new local-only password, validate the resolved Compose model without printing secrets, then run the complete app and PostgreSQL stack with docker compose up -d --build --wait. Stay with the setup until the app is healthy at http://localhost:8080 and the runtime operations endpoint responds. Tell me the three source commits, container and volume status, where durable data lives, and how to stop and restart the stack without deleting volumes. Ask before changing shared Docker resources, requesting administrator access, or removing any container, volume, repository, or existing data.
Prompt je záměrně v angličtině: AI agenti pro programování nejspolehlivěji plní přesné technické pokyny v jazyce, ve kterém je napsaná dokumentace produktu. Pokud chcete, aby vám agent odpovídal česky, připište na konec větu „Odpovídej česky.“
Než začnete
Docker při sestavování aplikace očekává složky CanDoItAll, CanDoItAll.Components a CanDoItAll.FileTools vedle sebe v jedné nadřazené složce. Takto je pro vás připraví i agent podle promptu výše.
PowerShell
Copy-Item .env.example .env
New-Item -ItemType Directory -Force .secrets | Out-Null
Set-Content -NoNewline .secrets/db-password 'change-this-local-password'
docker compose up -d --build --wait
Bash nebo zsh
cp .env.example .env
mkdir -p .secrets
printf '%s' 'change-this-local-password' > .secrets/db-password
docker compose up -d --build --wait
Zachovejte si data
Tento příkaz kontejnery zastaví, ale data ve svazcích app-data a db-data zůstanou. Parametr --volumes přidejte jen tehdy, když chcete data aplikace i databáze záměrně smazat.
docker compose down
Dokumentace ke kontejnerům
Připravený prompt pro agenta · Windows x64
Prepare the current CanDoItAll public alpha as an agent-guided per-user Windows x64 app. This is an experimental source-based workflow, not a conventional released installer. In one parent directory, clone or update only the main branches of https://github.com/fyziktom/CanDoItAll, https://github.com/fyziktom/CanDoItAll.Components, and https://github.com/fyziktom/CanDoItAll.FileTools using the exact sibling folder names CanDoItAll, CanDoItAll.Components, and CanDoItAll.FileTools. Before updating an existing clone, inspect its origin, branch, and working tree; preserve local changes and ask before any conflicting operation. Keep direct source project references enabled and record all three commit SHAs. Read the current installed-web-app and installing-instances documentation, use the SDK selected by global.json, inspect whether a working Linux Docker engine or the documented per-user native PostgreSQL 16 route is appropriate, and let the current Windows setup workflow create, start, and verify the dedicated database. Publish and start the per-user Release app, keep the session open until both /health and /api/runtime/operations pass, then tell me the local URL, source commits, install root, database engine and data location, and how to start, stop, repair, back up, and update the alpha. Ask before requesting administrator access, installing system-wide software, changing shared Docker resources, or replacing or removing existing data.
Prompt je záměrně v angličtině: AI agenti pro programování nejspolehlivěji plní přesné technické pokyny v jazyce, ve kterém je napsaná dokumentace produktu. Pokud chcete, aby vám agent odpovídal česky, připište na konec větu „Odpovídej česky.“
Příkaz spouští agent
& .\tools\install\Install-CanDoItAllWebApp.ps1 -StartAfterInstall
Agent musí nejdřív zkontrolovat, zda počítač splňuje požadavky, a odpovídá i za databázi a kontroly stavu. Aplikace se nainstaluje do složky %LOCALAPPDATA%\CanDoItAll\WebApp a používá vlastní databázi PostgreSQL – buď v Dockeru s funkční podporou linuxových kontejnerů, nebo podle dokumentace jako PostgreSQL 16 nainstalovaný jen pro aktuálního uživatele.
Nainstalovaná aplikace se po úspěšné kontrole stavu otevře na adrese http://127.0.0.1:38473/.
Podrobnosti o instalátoruPřipravený prompt pro agenta · pokročilé
Prepare a framework-dependent CanDoItAll public-alpha web host for this target operating system and architecture. Before changing the host, read the current installing-instances, headless-web-host, secure-configuration, and backup-and-restore documentation and ask me to confirm the target host, service identity, exposure boundary, database ownership, and backup expectations. In one source parent directory, clone or update only the main branches of https://github.com/fyziktom/CanDoItAll, https://github.com/fyziktom/CanDoItAll.Components, and https://github.com/fyziktom/CanDoItAll.FileTools using those exact sibling names. Preserve local changes, keep direct source project references enabled, record all three commit SHAs, and use the same recorded commits for restore and publish. Provision or connect PostgreSQL 16, explicit writable purpose roots, a stable host-binding ID, secret injection, certificate-backed Data Protection where required, service restart policy, and backup and rollback procedures. Publish the correct framework-dependent RID, install without silently elevating privileges, start the database and web service, and verify both /health and /api/runtime/operations on the actual host. Report the source commits, artifact, runtime profile, service status, data roots, database state, URL, and tested lifecycle commands. Retain the repository's ActualHostUnverified status for macOS headless targets until accepted actual-host evidence exists. Ask before administrator access, service registration, network exposure, secret changes, or replacing or removing any application or database data.
Prompt je záměrně v angličtině: AI agenti pro programování nejspolehlivěji plní přesné technické pokyny v jazyce, ve kterém je napsaná dokumentace produktu. Pokud chcete, aby vám agent odpovídal česky, připište na konec větu „Odpovídej česky.“
Přehled způsobů nasazeníDalší krok · 02
Úložiště souborů, tajné údaje, poskytovatele AI, ceny modelů, agenty a první projekt nastavujte až poté, co zvolený způsob spuštění i databáze projdou kontrolami.