Docs/Candor Deploy
Quickstart: from sign-up to a live app
Create an account, add a server, connect GitHub, deploy a repository, put it on your own domain with HTTPS and add a database.
This page takes you from nothing to an app running on your own domain with a database. Each step names the screen you will see in the dashboard at app.candordeploy.com.
You need four things: a GitHub repository with your app in it, a domain (or a subdomain) whose DNS you can edit, an email address, and a server to run the app on. The server can be one you already have, or a managed one we create for you after you choose a plan.
1. Create your account
Go to app.candordeploy.com/register. Enter your name, your email address and a password of at least eight characters, then press Create account. We email you a code; enter it to verify the address.
Your 14-day free trial starts when the account is created. It covers 1 server that you bring. You are not asked for a card. What happens when it ends is in Plans, trial and billing.
2. Add a server
Your apps run on a server in your workspace. Add one in one of two ways.
Bring your own. Any Linux server with a public address that you can reach over SSH. Enter its address and connect with a password or an SSH key you upload. Candor Deploy pins the server’s host key on the first connection, then installs Docker and the edge that routes your domains. This takes a few minutes. Private, loopback and tailnet addresses are refused. This is the option the trial covers.
Create a managed server. Choose a plan first (this needs a card), then open Plans & billing, then Candor Cloud, and pick a region and a size. The server is ready in a few minutes. Managed servers are not part of the trial. Prices are in Plans, trial and billing.
3. Connect GitHub
Open Settings, then Git. There are two ways to give Candor Deploy access to your repositories. Pick one.
A personal access token. Under GitHub clone credentials, paste a token into Personal access token, press Save token and turn on Use by default. For private repositories the token needs the repo scope (classic tokens) or read access to the repositories you want to deploy (fine-grained tokens). This is the quickest way to start.
A GitHub App for your workspace. Under Self-hosted GitHub Apps, press Create with GitHub. GitHub creates an app that belongs to you, asks which repositories it may read, and sends you back. Only the workspace owner can do this. Choose this if you want pushes to deploy automatically without creating webhooks by hand, or deploy results reported on your commits.
4. Deploy a repository
- Press New Project in the sidebar.
- Open the GitHub tab and choose your repository and branch.
- The Config screen shows what was detected: the framework, the install and build commands, and the port. Correct anything that is wrong. If your repository has a
Dockerfileor a compose file at its root, that is used instead of framework detection. Details are in Builds and configuration. - Add any Environment Variables your app needs to build or start.
- In the Domain card, choose Custom domain and enter the hostname you want, for example
app.example.com. You can also skip this and add the domain after the first deploy, but the app has no public address until a domain is attached. - Press Deploy.
The next screen follows the deployment. A step tracker shows each stage, and the Build Terminal streams the log as it runs. When it finishes, the heading reads Deployment Successful.
Your app must listen on the port in the PORT environment variable, on 0.0.0.0. If the build fails or the app does not start, see Troubleshooting.
5. Point your domain at it
Open the project, then Domains & Routes. Your domain is listed with a DNS Records panel.
- At your DNS provider, create the record shown. For most domains it is one
Arecord pointing at the address in the panel. - Back in the dashboard, press Verify.
Verification requests an HTTPS certificate from Let’s Encrypt. When it succeeds, the app is live at https:// your domain, and the certificate is renewed for you. DNS changes can take a while to spread; if Verify fails, wait a few minutes and try again. More in Domains and HTTPS.
6. Add a database
A database is its own project. It runs on your server and uses that server’s memory, CPU and disk, like your app.
- Press New Project and stay on the Apps tab.
- Choose PostgreSQL + pgAdmin (or MariaDB, MongoDB or Valkey) and install it.
- Open the new database project. On its connection card, press Use in a project, pick your app, and choose the variable to inject, for example
DATABASE_URL. - Your app reads the variable the next time it deploys. If the app is already deployed, the dashboard tries to redeploy it straight away.
By default the connection is Internal: your app reaches the database over a private network, and the database has no public port. More in Databases.
7. Deploy on every push
Open the project, then Source & Triggers, and turn on Auto Deploy. From then on, a push to the deploy branch builds and ships.
Auto Deploy needs GitHub to notify Candor Deploy of a push. With a workspace GitHub App that already happens. With a personal access token, the token must have admin access to the repository so the dashboard can create the webhook for you.
Until you turn Auto Deploy on, you deploy when you choose to: open the project and press Redeploy Project.
What to read next
- How Candor Deploy works: servers, projects, deploys and rollback.
- Builds and configuration: detection, Dockerfiles, compose, environment variables and storage.
- Plans, trial and billing: what a server costs and how you pay.
Something here wrong, unclear or missing? Tell us. Docs get fixed like bugs.
Not a customer yet? Start a free trial, or see plans and limits.