Jamdesk Documentation logo

End-to-End Tutorial

From an empty repo to a live docs site: create a project, preview locally, deploy, and optionally configure a custom domain.

Go from an empty repo to a live docs site. Skip any step you've done already.

Prerequisites

  • A GitHub account
  • A repository with docs content (or use the Starter Template)
  • Node.js 22.18+ or 24.11+ if you want to install the CLI with npm
1
Create a project and connect GitHub

Create a project in the Jamdesk dashboard and connect a repository.

2
Edit and preview pages with the CLI

Preview page edits with the Jamdesk CLI before you push them to GitHub.

npm install -g jamdesk
cd your-docs
jamdesk dev

Your local preview runs at http://localhost:3000. Learn more in Local Preview.

Open an .mdx page in your editor. Save a change and refresh the local preview. Publish it with the Git workflow in the next step.

3
Deploy by pushing to GitHub

Every push to your configured branch triggers a build. The build publishes to your Jamdesk subdomain.

git add .
git commit -m "Add docs content"
git push origin main

Replace main with your project's configured branch.

Your docs go live at your-project.jamdesk.app when the build finishes. See Deployment for details.

4
Optional: Add a custom domain

Serve your docs from your own domain instead of the Jamdesk subdomain.

  1. Go to Settings → Domains in the Jamdesk dashboard
  2. Add your domain (for example, docs.example.com)
  3. Create the DNS records shown in the dashboard
  4. Wait for verification and SSL to complete

For troubleshooting, see Custom Domains.

Validate the End-to-End Flow

  • Your Jamdesk subdomain loads and shows the latest build
  • Local preview reflects the same content and navigation
  • If configured, the custom domain is verified and serving HTTPS
  • Build history shows the latest commit and author attribution

Optional: Host at /docs

To serve docs on a subpath like example.com/docs, see Deployment Overview and Subpath Hosting.

What's Next?

Create a Project

Manage project settings and templates

CLI Overview

Install the CLI and see available commands

Deployment Overview

Compare hosting options

Custom Domains

Verify DNS and troubleshoot setup