Quickstart
This guide takes you from nothing to a running app on a public URL.
You’ll need:
- a Watasu account with funds in the personal or team balance that will own the app (card top-ups start at €5)
- a Git repository with an app you’d like to deploy (any language with a buildpack, or anything with a
Dockerfile)
1. Install the CLI
Section titled “1. Install the CLI”curl -fsSL https://watasuio.github.io/watasu-cli/install.sh | bashOn Windows:
irm https://watasuio.github.io/watasu-cli/install.ps1 | iexHomebrew works too — see Install the CLI for all options.
2. Log in
Section titled “2. Log in”watasu loginThe CLI opens a browser, you authenticate, and credentials are stored locally for both API calls and Git pushes.
3. Create an app
Section titled “3. Create an app”From inside your Git repository:
watasu create my-first-appThe output gives you:
- a managed URL like
https://my-first-app.watasuhost.com - a Git remote named
watasupointing atgit.watasu.io
If you’d rather skip the local remote, pass --no-remote. An empty app can be created with an unsuspended zero balance; adding any service, including a free add-on, requires a positive balance.
4. Deploy
Section titled “4. Deploy”Builds cost €0.50/hour, billed by running seconds, with limits of 16 vCPU and 30 GiB RAM. Before pushing, make sure the app’s billing account has enough available balance for at least one second. A saved card is not required when you already have funds.
A temporary hold funds up to one hour (€0.50), or a shorter deadline if less balance is available. Unused funds return after the build stops. See Build billing.
git push watasu mainWatasu stages your source, builds an image (using your Dockerfile if there is one, otherwise Cloud Native Buildpacks), creates a release, and rolls it out. Build and deploy output streams back to your terminal.
When the deploy finishes, open the app URL.
5. Set a config var
Section titled “5. Set a config var”Most real apps need at least one secret or setting:
watasu config:set SECRET_KEY_BASE=replace-me --app my-first-appSetting a config var triggers a new release. Your app restarts with the new value.
6. Read the logs
Section titled “6. Read the logs”watasu logs --app my-first-appAdd --tail to stream continuously. This is your first stop whenever something doesn’t look right after a deploy.
7. Attach a database
Section titled “7. Attach a database”watasu addons:create postgresql --app my-first-appWait until it’s ready:
watasu pg:wait --app my-first-appYour app receives DATABASE_URL (and PGHOST, PGPORT, PGDATABASE, PGUSER, PGPASSWORD) automatically and restarts with the new environment.
8. Add your own domain
Section titled “8. Add your own domain”watasu domains:add www.example.com --app my-first-appWatasu prints the DNS target to point at. Add it at your DNS provider, then:
watasu domains:wait www.example.com --app my-first-appTLS is provisioned automatically once the domain verifies.
You’re live
Section titled “You’re live”That’s the whole loop: create, push, configure, attach, observe.
Next steps depending on what you want to do:
- Understand the model → Core Concepts
- Set up GitHub auto-deploy and review apps → Connect GitHub
- Add a worker process → Processes and Scaling
- See dashboards in Grafana → Observability Overview