Tutorial: Deploy an App and Add a Custom Domain
In about 15 minutes you install Temps on a VPS, connect GitHub, deploy a repository, and serve it on your own domain with an automatic Let's Encrypt certificate. This is the long-form version of the Quickstart: it explains what each installer step does, what you see while the app builds, and how to point a custom domain at it. No prior experience with Temps is required.
What you will build
By the end of this tutorial, you will have:
- A running Temps instance on your server
- A Git repository connected to Temps
- A live application deployed from that repository
- Automatic HTTPS via Let's Encrypt
- A custom domain pointing to your app (optional)
Time required: approximately 15 minutes.
What this tutorial covers and does not cover:
| Covered | Not covered |
|---|---|
| Installing Temps | Analytics and session replay (next tutorial) |
| Connecting a Git provider | Environment variables in depth (how-to guide) |
| Creating a project and deploying | CI/CD pipelines (how-to guide) |
| Adding a custom domain | Scaling and resource management (scaling guide) |
Prerequisites
Before you start, make sure you have the following:
- Name
A server- Description
A VPS or dedicated server running Ubuntu 22.04+ (or Debian 11+). Minimum 2 CPU cores and 4 GB RAM. Providers like DigitalOcean, Hetzner, Linode, or AWS EC2 all work — see Choosing a server for sizes and prices.
- Name
Open ports- Description
Inbound TCP 22, 80 and 443 must be open in your provider's firewall or security group. Let's Encrypt and QuickStart's
sslip.ioHTTPS need 80 and 443; cloud firewalls often block them by default.
- Name
A domain name- Description
A domain you control (e.g.
yourdomain.com). You will need access to its DNS settings. If you do not have one yet, you can still follow this tutorial: the installer's QuickStart mode gives every app a freesslip.ioaddress based on your server's IP, and you can add the domain later.
- Name
A GitHub account- Description
With a repository you want to deploy. If you do not have one ready, you can fork a starter template — we will show you how.
- Name
SSH access- Description
You should be able to SSH into your server:
ssh root@your-server-ip.
Install Temps
SSH into your server, download the Temps installer, and review it before running it:
curl -fsSL https://temps.sh/deploy.sh -o deploy.sh
less deploy.sh
bash deploy.sh
The installer is interactive. First it asks you to pick a setup mode, which decides how the console and your apps are reached:
| Mode | Console and app addresses | HTTPS |
|---|---|---|
| Local | 127.0.0.1.sslip.io on this machine | HTTP only — for trying Temps out |
| QuickStart | console.<dashed-ip>.sslip.io, apps at <app>.<dashed-ip>.sslip.io (e.g. console.203-0-113-1.sslip.io) | Let's Encrypt certificates issued on demand (HTTP-01) |
| Advanced | Your own domain, e.g. yourdomain.com, apps at <app>.yourdomain.com | Wildcard Let's Encrypt certificate (DNS-01) |
QuickStart needs no domain, so it is the fastest way through this tutorial; you add your own domain to the app at the end. Choose Advanced if you want the console itself on your domain. You can skip the picker with bash deploy.sh --mode quick (or --mode advanced).
The installer then runs the steps below. In QuickStart it asks only for an email for Let's Encrypt, uses it as the admin email, and generates the admin password. In Advanced it asks for the admin email and password during platform setup (leave the password empty to generate one). Either way it creates the admin account for you.
1. Docker
The installer checks whether Docker is already present. If not, it installs Docker Engine for you. You do not need to install Docker beforehand.
Installing Docker via https://get.docker.com...
Docker installed and running
2. Database
Temps needs PostgreSQL with the TimescaleDB extension. The installer starts a TimescaleDB container automatically:
The database container listens on port 5432. If that port is already taken (for example by an existing PostgreSQL), the installer picks the next free port between 5433 and 5452. The database password is generated for you.
Later in the run, the installer asks whether to use ClickHouse for proxy logs, analytics, and traces. Running a ClickHouse container on the server is the recommended choice and is pre-selected; you can also point at an existing ClickHouse or keep everything on TimescaleDB. See Migrate Observability to ClickHouse if you want to switch later.
3. Domain and SSL
What happens here depends on the mode you picked. In QuickStart, there is nothing to configure: the installer derives an sslip.io domain from your server's public IP, and certificates are issued automatically the first time each hostname is visited.
In Advanced mode, point your domain at the server first. Not sure of your server's IP? Run this on the server: curl -fsSL https://api.ipify.org; echo
Then create the two A records, replacing YOUR_SERVER_IP with that address:
yourdomain.com → A → YOUR_SERVER_IP
*.yourdomain.com → A → YOUR_SERVER_IP
The wildcard record (*) is needed so that each project gets its own subdomain automatically (e.g. my-app.yourdomain.com). The installer then requests a wildcard certificate through a DNS-01 challenge — either a TXT record you paste by hand or automatically through the Cloudflare, Route 53 or DigitalOcean API. If you use Cloudflare, set the wildcard record to DNS only (grey cloud).
4. Temps binary
The installer downloads the newest beta release for your platform (by default; --version <tag> pins one) into ~/.temps/bin/temps and links it to /usr/local/bin/temps:
Installing Temps binary...
Temps v0.1.0-beta.62 installed to ~/.temps/bin
5. Background service
A systemd service is created so Temps starts automatically on boot and restarts if it crashes:
Systemd unit written to /etc/systemd/system/temps.service
Temps service is running and healthy
6. Verification
The installer confirms the console is reachable and prints a summary. In QuickStart mode it looks like this:
SETUP COMPLETE
Your Temps instance is ready!
Console: https://console.203-0-113-1.sslip.io
Apps at: https://<project>.203-0-113-1.sslip.io
Admin email: you@example.com
Admin password: ••••••••••••••••
Domain: *.203-0-113-1.sslip.io
Channel: beta
⚠ Save your admin password now — it won't be shown again.
In Advanced mode the console URL is your own domain, e.g. https://yourdomain.com, and the installer also generates an admin API key and prints it in this block.
Save the admin password (and, in Advanced mode, the API key). You need an API key for the CLI and API; in QuickStart mode, or if you lose it, create one from the dashboard.
Log in to the dashboard
Open the URL shown at the end of the installation in your browser.
On your first visit, you will see the login screen. Sign in with the admin email and password from the installer — the installer already created this account, so there is no sign-up step.
After logging in, you land on the Projects page. It will be empty since you have not deployed anything yet.
The sidebar on the left gives you access to the main platform sections:
- Applications — AI workspace, Projects, Git connections, Domains, Worker nodes
- Storage — Databases, Backups
- Observability — Analytics, Traces, Logs, Errors, Server metrics, Monitoring, Proxy
- Administration — All tools, which also lists sections such as Email and DNS providers
Connect GitHub
Before you can deploy from a repository, Temps needs access to your GitHub account.
- In the sidebar, click Git connections
- Click Add Git Provider
- Choose GitHub
You have two connection methods:
GitHub App (Recommended)
Installs a GitHub App on your account or organization. This method:
- Uses fine-grained permissions
- Supports webhook-triggered deployments
- Can be limited to specific repositories
Click Create GitHub App — your browser is redirected to GitHub.com (same tab). Choose which repositories Temps may access, click Install & Authorize, and you are redirected back to Temps. See Connect GitHub for the full step-by-step flow.
Personal Access Token
Uses a GitHub PAT for repository access. This method:
- Works immediately without app installation
- Requires a token with the
repoandadmin:repo_hookscopes - Good for quick setups or private repos
Click Use Personal Token. Generate a classic token at github.com/settings/tokens with the repo and admin:repo_hook scopes, paste it into the Personal Access Token field and click Add Provider. Fine-grained tokens also work — see Connect GitHub.
After connecting, you should see your provider listed on the Git Providers page without an Inactive badge. Then continue to Create your first project below.
If you are using GitLab instead of GitHub, the process is the same. Click Add Git Provider, choose GitLab, and provide your personal access token. Self-hosted GitLab instances are also supported — just provide the base URL.
Create your first project
Now you are ready to deploy an application. In Temps, a project holds your repository settings, its environments and every deployment. There are three ways to create one — click through the dashboard, run the CLI yourself, or hand the steps to your coding agent:
Deploy your first project
- 1
In the sidebar, click Projects, then Create project (top-right).
- 2
On the GitHub tab (named after your Git provider), select your repository — or pick a starter on the Template tab.
- 3
Confirm the auto-detected framework preset, root directory, and branch.
- 4
Click Create Project. Temps clones, builds, and goes live with HTTPS.
Checkpoint: The deployment status reaches completed — click the external-link icon in the top-right corner and confirm the URL serves your app.
The rest of this section walks the dashboard path in detail.
If you have a repository ready
- In the sidebar, click Projects
- Click Create project in the top-right corner
- Select the GitHub tab. It is named after your Git provider (GitLab, Gitea or Git), or Repositories if you connected more than one
- Find your repository in the list (use the search bar if needed)
- Click on it to begin setup
If you need a starter project
If you do not have a repository ready, Temps includes built-in templates:
- Click Create project
- On the Template tab, choose one:
- Next.js SaaS Starter — A SaaS starter with authentication, billing and database integration
- Next.js Docs Template — A documentation site with syntax highlighting
- Observability Starter — A mock revenue-analytics SaaS pre-wired with analytics, error tracking, tracing and Postgres
- Click the template card, review the settings, then click Create Project from Template
Configure your project
After selecting a repository or template, Temps asks you to configure the project:
- Name
Project Name- Description
A human-readable name for your project. This also determines the default subdomain (e.g.
my-app.yourdomain.com).
- Name
Branch- Description
The Git branch to deploy from. Defaults to the repository's default branch.
- Name
Framework Preset- Description
Temps auto-detects your framework based on your repository files and shows the detected preset (Next.js, Vite, Python, Go, Dockerfile, etc.). Frameworks without a file signal — Express, NestJS, Astro, Nuxt — need a preset chosen here (for example
nixpacks-node). Laravel and Rails are offered throughcomposer.jsonandGemfile. See Supported frameworks.
- Name
Root Directory- Description
For monorepos, the subdirectory containing your application. Leave empty for single-project repositories.
Click Create Project to start the deployment.
Watch it deploy
After creating the project, Temps immediately starts deploying your application. You are taken to the project's Overview page, which shows the latest deployment. Open it, or click Deployments in the project sidebar, to watch the process in real time. The log lines below are typical; the exact output depends on your Git provider and preset.
The deployment goes through several stages:
1. Cloning
Temps clones your repository from GitHub. You will see the branch and commit hash:
Checking out ref: main
Checked out commit a1b2c3d
2. Building
Temps detects your framework and builds a Docker image. For a typical Next.js app, this looks like:
Dockerfile not found, generating from preset: nextjs
Starting image build for <image-tag>
Building container image...
Build time: 42000 ms
Build times depend on your application size and server resources. Subsequent builds are usually faster because of caching.
3. Deploying
The built image is started as a Docker container:
Waiting for application to be ready...
Health check passed - server healthy with status 200 OK (1/2)
Health check passed - server healthy with status 200 OK (2/2)
Application is ready and healthy!
4. Going live
Once the health check passes (two consecutive healthy responses, checked every 2 to 5 seconds), the Mark Deployment Complete job routes traffic to the new container. Certificates are not part of the deployment: QuickStart issues one the first time a hostname is visited, and Advanced uses the wildcard certificate from installation.
Marking deployment as complete...
Route table confirmed — new deployment is routable
Deployment is now LIVE and ready for traffic!
You will see the deployment status change to completed with a green badge on the Deployments page. The deployment entry shows the branch, commit, duration, and a Current label indicating it is the active deployment.
Visit your live app
Your application is now live. You can access it at the URL shown on the project page. Click the external-link icon in the top-right corner (Visit deployed site) to open it in a new tab.
Temps automatically assigns a URL based on your project name:
https://my-project.yourdomain.com
If you installed in QuickStart mode, the address uses your server's IP instead:
https://my-project.203-0-113-1.sslip.io
The project's Overview page also shows:
- Traffic health — Requests, traces, latency and HTTP error rate
- Visitor analytics — Browser activity, once you add analytics
- Most invoked paths and Latest errors
Add a custom domain
If you want your app to be available at a specific domain like app.yourdomain.com, follow these steps. The Add a custom domain guide covers apex domains, redirects and DNS-01 providers in more depth.
Step 1: Add a DNS record
In your DNS provider (Cloudflare, Namecheap, etc.), create a record pointing to your Temps server:
| Type | Name | Value |
|---|---|---|
| A | app | YOUR_SERVER_IP |
Or, if you want the root domain:
| Type | Name | Value |
|---|---|---|
| A | @ | YOUR_SERVER_IP |
Wait a few minutes for DNS propagation.
Step 2: Add the domain in Temps
- In the main sidebar, click Domains, then Add Domain
- Enter your domain name (e.g.
app.yourdomain.com) - Select the SSL challenge type:
- HTTP-01 (default) — Automatic. Works if port 80 is open on your server.
- DNS-01 — Required for wildcard certificates. Needs a DNS provider configured (Cloudflare, Route 53, DigitalOcean, Namecheap, GCP or Azure).
- Click Create Domain & Start Provisioning
- Open your project, go to Settings → Domains and click Add domain
- Select the domain and the environment, then click Add
Step 3: Verify and get your certificate
Temps verifies domain ownership and issues a certificate from Let's Encrypt. The domain's page under Domains shows the current status; it changes to active when the certificate is issued.
Your app is now available at https://app.yourdomain.com with a valid SSL certificate that renews automatically.
If verification fails, check that your DNS record has propagated. You can verify with: dig app.yourdomain.com or use an online DNS checker. DNS changes can take up to 48 hours, but usually propagate within minutes.
What to explore next
You have a live application running on your own infrastructure. Here is what to do next:
Add analytics, error tracking, and session replay
Set up automated backups and uptime monitoring
Deploy an app with a managed PostgreSQL database
Manage environment variables across environments
Understand how the deployment pipeline works
Debug a failed deployment
Before real users arrive, work through the production checklist. For other tasks, browse the how-to guides.
Keeping Temps up to date
Until v0.1.0 ships, every Temps release is a prerelease, so a bare temps upgrade (which looks for a stable release) cannot move you to a v0.1.0 build: before v0.1.0-beta.57 it fails with "No stable releases found", and from v0.1.0-beta.57 it finds the old v0.0.8 and refuses to downgrade to it. Pin the release you want instead:
temps upgrade --version v0.1.0-beta.62
Or follow daily builds with temps upgrade --channel nightly. Always take a backup before upgrading, and check the upgrade guide for what each release changes. Temps starts automatically on server reboot — the systemd service installed during setup handles this.
Got a monorepo?
If your project is inside a larger repository (e.g. apps/web in a monorepo), set Root directory under Settings → Build & deploy to the subdirectory containing your app. Temps runs the install and build from there, so workspace dependencies and shared packages resolve correctly. Full walkthrough: Deploy a Turborepo monorepo to your own server.
Environments (staging vs production)
Temps supports multiple environments per project — typically production and staging. You can deploy different branches to different environments and keep separate sets of environment variables for each. See Environments for details.