Quickstart in an Amp orb
An Amp orb is the fastest way to run the portal. The repository declares everything the orb needs:
| File | What it does |
|---|---|
.agents/setup |
Installs Postgres, creates the factory and factory_test databases, and installs the backend and frontend dependencies. Safe to run again. |
.amp/services.yaml |
Declares the api, web and docs services, their ports, health check and portals. |
-
Add the GitHub settings to the project. Register the apps with GitHub apps, then add the values from Configuration as Amp project environment variables and secrets.
.amp/services.yamlsetsDATABASE_URLandAPP_BASE_URLfor you. -
Start the services.
Terminal window amp orb services ensureThis starts:
Service Directory Port Portal apibackend/8000 none; the web app proxies /apito itwebfrontend/assigned Software Factory docsdocs/assigned MateFactory docs The
apiservice runsalembic upgrade headbefore it starts, so the database is always at the latest migration. -
Open the Software Factory portal and click Sign in with GitHub.
Next steps
Section titled “Next steps”- Connect Daytona so threads get sandboxes.
- Create a project from a repository.
- Start a thread.
