Deploy your first app
This walks you through taking a GitHub repo and getting it live on Orbit for the first time. Most repos deploy as they are, but a quick look at Set up your repo first can save you a failed build.
What it does
Section titled “What it does”By the end of this page, your app will be running at its own web address, with HTTPS already handled, and visible in your dashboard.
How to get there in the dashboard
Section titled “How to get there in the dashboard”Go to app-v2.orbit.lustres.dev and sign in (or create an account). If this is your first app, you’ll land on a prompt to connect GitHub - otherwise, use the “add app” action from your workspace.
- Sign in to Orbit. Use the account you want this app to belong to.
- Connect GitHub. Orbit will ask for permission to read your repositories. You can choose to give access to all repos or only specific ones.
- Pick the repository and branch to deploy. Choose the account, then the repository (a
recent one, or paste a GitHub URL), then the branch - names like
release/nextwork. The environment is chosen on the same form. Press Continue and Orbit will look at that branch and detect how to build it - most common project setups just work. If the repository has no commits yet, push a first commit on GitHub, then retry. - Review Orbit’s plan. You’ll see a summary of what Orbit found - the components it will run (a web service, an API, a background worker), and whether your app needs a database or cache. For data, you can bring your own database (recommended) or add an Orbit-managed one (beta), plus a managed cache. Adjust anything that looks wrong, then press Deploy.
- Wait for the first build. This usually takes about a minute or two. You’ll see progress live.
- Your app goes live. When the build finishes, you’ll see a success screen with your app’s working address and a green, healthy status. Orbit is now serving traffic to it.
Common issues
Section titled “Common issues”- The build failed. Check the build output in your dashboard for the specific error - most failures are due to a missing dependency or a command Orbit couldn’t detect. See Troubleshooting.
- I don’t see my repo in the list. Orbit only sees repos it’s been given access to - update this from your GitHub account’s app permissions.
- My app needs an environment variable to start. Add it before your first deploy, or right after - see Environment variables.
Success checkpoint
Section titled “Success checkpoint”Your app is live at your-app.orbit.lustres.dev.
Next steps
Section titled “Next steps”- Your dashboard - get familiar with what you’re looking at
- Custom domains - point your own domain at your app
- Environment variables - configure secrets and settings
- Databases & caches - add a managed database or cache