Docs/Get started/Quickstart

Quickstart

1 min read
On this page

Deploy your first app in about five minutes. Use the CLI to deploy straight from your laptop, or connect a GitHub repository to deploy on every push.

Before you start#

You need a Dokwe account and an app in a folder: Next.js, React, Vue, Python, Go, Ruby, Node, or anything with a Dockerfile. Dokwe detects the stack and builds it for you.

No GitHub needed. The CLI pushes your code to Dokwe's built-in git server. You can connect GitHub later if you want a deploy on every push.

Deploy with the CLI#

  1. Install the CLI#

    macOS / Linux
    curl -sSL https://dokwe.com/install-cli.sh | bash
  2. Sign in#

    bash
    dokwe login
  3. Create a project#

    Run this in your app's folder. Leave the GitHub URL blank to deploy with the CLI.

    bash
    dokwe create my-app
    # ? GitHub repo URL (blank for CLI deploy):  ⏎
  4. Deploy#

    Dokwe pushes your code, builds it, streams the build logs, and gives the app a URL with HTTPS.

    bash
    dokwe deploy

    Your app is live at https://my-app-app.dokwe.com.

Deploy from GitHub#

Prefer a deploy on every push? In the dashboard, create a new project, connect GitHub, and pick a repository and branch. Dokwe installs the webhook for you, so every push to that branch builds and deploys automatically. See Deploy from GitHub.

Next steps#

Do thisCommand
Add your own domaindokwe domains add shop.example.com
Set an environment variabledokwe env set API_KEY=…
Import a whole .env filedokwe env import .env
Stream live logsdokwe logs
Roll back to an earlier deploydokwe rollback

HTTPS for a custom domain is issued once its DNS verifies. Check the domain's status in the dashboard. See Custom domains & HTTPS.

Ready for more? Learn the core concepts, or set up staging → production.