Bring your repo

Host code you already have: oalo deploy --new makes an app from a repo on your machine or at a Git URL, how Oalo tells what kind of app it is, and what to add.

You have code in a git repo, on your machine. To host it on your Oalo Base, with the Oalo CLI (oalo) installed:

oalo login <slug>                            # your Base, <slug>.oalo.ai: approve it in the browser
cd my-app
oalo deploy --new

deploy --new makes an app from the repo, keeps its commit history, links the folder to it, and starts its preview. The app's name (and its address) comes from the folder, or give one: oalo deploy --new shop. After that:

oalo deploy                 # each new commit, to the preview
oalo deploy --env prod      # build it and make it live
oalo logs --follow          # what it prints
oalo env set KEY --secret   # a key it needs (see App environment)

You need no Dockerfile, no git remote and no extra credential. What is sent is the current branch's commits, signed in with your CLI login. Uncommitted changes are never sent: commit first. Admins, and members an admin gave Developer access, can deploy.

In the dashboard, Add App → Push from local shows the same commands with your Base filled in.

From a Git URL, with no checkout

When the code is on GitHub, GitLab, Bitbucket, Codeberg or any Git host, your Base can fetch it itself. In the dashboard: Add App → From Git, paste the repository's https address, and Import. Or from the CLI:

oalo deploy --new --from https://github.com/you/shop
oalo deploy --new shop --from https://gitlab.com/you/shop.git --branch release

The app is made exactly as oalo deploy --new makes one: the same detection (below), the same key scan, its history kept, its preview started. The dashboard opens the new app when it's made.

  • One branch, its whole history: the repository's default branch, or the one you name. Tags and other branches stay behind.
  • Limits: https only, to a public host (no ssh or git@ addresses, no addresses inside a private network), up to 200 MB with its history and 5 minutes to fetch. A bigger repository is refused with that reason; large files in its history are the usual cause.
  • A private repository needs an access token that can read it: a GitHub fine-grained or classic token with read access to contents, a GitLab token with read_repository, a Bitbucket repository or workspace access token, or another host's access token. In the dashboard, paste it in the Access token field. With the CLI, put it in an environment variable and name it: oalo deploy --new --from <url> --token-env GITHUB_TOKEN (at a terminal, without --token-env, you're asked for it, hidden, when the host wants one). The token is used for that one clone. It is never saved, logged or written into the app's repo, and errors never repeat it.
  • Who can: in the dashboard, whoever can add apps there. With the CLI, admins and members with Developer access, as for every deploy.
  • After it: the app's commits are the repository's, so to work on it locally clone the repository as usual, run oalo link --app <slug> in it, and oalo deploy from there.

When it fails, it says why: no repository at that address, the host asks for a sign-in (add a token), the token was refused, no such branch, too big, or the host couldn't be reached.

What kind of app it becomes

Oalo looks at the files at the root of the repo. The first match wins:

Your repo hasIt becomes
pubspec.yaml with Fluttera Flutter app
expo or react-native in package.jsonan Expo app
a Figma Make exporta web app
mix.exs, go.mod, Gemfile, pom.xml / build.gradle / build.sbt, composer.json, a .csproj, Cargo.toml, deno.json, or a Dart pubspec.yamla server app in that language (a Rails, Laravel or Phoenix app stays a server app even with Vite in it)
requirements.txt, pyproject.toml or setup.pya Python server app (a Django or Flask app stays one even with Vite in it)
Express, Fastify, Koa or Hono in package.jsona Node server app (Bun with bun.lock), even with Vite in it
vite in package.json (React, Vue, Svelte, Solid, plain)a web app
bun.locka Bun server app
a start script, or main, in package.jsona Node server app (Next.js is one: it has next start)
a Dockerfile, and none of the abovea server app built from it, in any language
only an index.htmla plain website, served as it is

A web app goes live by running its build script, which must write dist/ (Vite's default). A plain website goes live as its files, minus dotfiles. A server app must listen on $PORT. How it is built (its Dockerfile, Oalo's, or buildpacks), how a Procfile names its processes, and which languages have a preview are in Live server apps. oalo dockerfile shows the one an app builds from.

When Oalo can't tell

If nothing matches, the app is made as code only: it's stored, but nothing runs, and the deploy says so. This happens most with:

  • A monorepo, where the app is in a subfolder (apps/web). Oalo only looks at the root. Add a Dockerfile at the root that builds and runs that folder.
  • A framework with neither Vite nor a start script (Astro, say). Add a start script that serves the built site on $PORT, or a Dockerfile.

Commit, then oalo deploy. Every deploy checks again, and a code-only app becomes what it's now detected as.

Let the setup agent make it run

When an app is code only, or its preview doesn't start, the setup agent on your Base can make it run:

oalo setup --app shop            # start
oalo setup status --app shop     # how it's going, and its report
oalo setup accept --app shop     # keep its changes (or: reject)
  • It works on a branch, oalo/setup, in the app's folder. It adds what's missing (a Procfile, a Dockerfile, .oalo/app.json, a fix for a hard-coded port), the smallest change that makes the app run. It never writes a key; it names the variables you need to set.
  • Oalo checks each attempt itself: the app is detected and, for a server app, installed, its release: run, and its preview answering. Up to 6 attempts and a dollar budget, then it stops and says why.
  • When it runs, the preview shows the branch. Accept makes its commits the app's code; reject throws them away. Deploys wait until you choose. After accepting, oalo deploy --pull brings the commits to your copy.
  • Its report says what the app is, what it changed and why, which variables to set, whether it can run as several copies, and what it couldn't fix.
  • oalo setup auto on makes a dev deploy that finds nothing runnable, or a preview that doesn't run, start one by itself.

Admins and members with Developer access only.

Changes made on Oalo

The builder agent and your teammates can change the app on Oalo too. A deploy only moves the app forward, so if it has commits your repo lacks, the deploy stops and lists them:

oalo deploy --pull          # fetch them as the branch oalo/<app>
git merge oalo/<app>
oalo deploy

oalo deploy --replace makes your branch the app's code instead. The code it replaces is tagged first, so it can be recovered.

Other ways in

  • Upload an archive: Add App → Upload archive, with a .zip or .tar.gz of the source. The same detection applies, but the app starts with a fresh history, so the first oalo deploy from your repo afterwards needs --replace. Prefer oalo deploy --new, or From Git.
  • From Figma: Add App → Import from Figma, with a Figma Make export.

A Git URL is covered above (From Git). Org files can also clone a repo for the builder agent to read, but that doesn't make it an app.

Before you deploy

  • Keys stay out of the repo. Each deploy scans the commits it receives for keys and warns about any it finds. Put keys in oalo env set NAME --secret instead (see App environment).
  • A web or mobile app never gets a secret. Its build ships to the browser. It calls a server app that holds the key.
  • Using your Base as the backend for sign-in and data: Connect your own frontend.

Undock any time

Docking to Oalo never moves your app in for good:

  • Your code is a git repo with its whole history. oalo deploy --app <slug> --pull brings back any change made on your Base (by the builder agent or a teammate), so your own repo always has everything.
  • Your apps run on standard runtimes: a Procfile, package.json, or your own Dockerfile. Nothing in your code has to know about Oalo.
  • Your data comes out as plain SQL: oalo db dump --env prod writes every app's own tables and your Oalo models, with their rows, to a file you can restore into any Postgres with psql -f. Data comes in the same way: oalo db restore loads a Postgres dump or database (see App environment). Workspace admins can run both.
  • Docked without hosting (your app sends events or data, or bots call your endpoints)? Stop sending, and you're undocked.
Related
Try it on your own Base

Sign up, install the CLI, and deploy your repo in a few minutes.

bring your repo