Quickstart
This guide takes you from nothing to a running app on a public URL.
You’ll need:
- a Watasu account
- 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”brew tap watasuio/watasubrew install watasuFor other install paths, see Install the CLI.
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.watasu.app - a Git remote named
watasupointing atgit.watasu.io
If you’d rather skip the local remote, pass --no-remote.
4. Deploy
Section titled “4. Deploy”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-appThis 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 addons --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