Quickstart
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#
Install the CLI#
macOS / Linuxcurl -sSL https://dokwe.com/install-cli.sh | bashWindowsirm https://dokwe.com/install-cli.ps1 | iexSign in#
bashdokwe loginCreate a project#
Run this in your app's folder. Leave the GitHub URL blank to deploy with the CLI.
bashdokwe create my-app # ? GitHub repo URL (blank for CLI deploy): ⏎Deploy#
Dokwe pushes your code, builds it, streams the build logs, and gives the app a URL with HTTPS.
bashdokwe deployYour 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 this | Command |
|---|---|
| Add your own domain | dokwe domains add shop.example.com |
| Set an environment variable | dokwe env set API_KEY=… |
Import a whole .env file | dokwe env import .env |
| Stream live logs | dokwe logs |
| Roll back to an earlier deploy | dokwe 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.