pherwerz docs
Quickstart
From an empty workspace to a live URL. You'll need a pherwerz account and a repository with an app that listens on a port.
Deploy from GitHub
Create a workspace and a project
After you sign up, create a workspace for your team, then a project in it. A project starts with an environment to deploy into.
Add a service
In the environment, choose New service → Web service and pick GitHub. The first time, you're asked to install the pherwerz GitHub App on the repositories it may read.
Pick the repository and branch
pherwerz detects how to build it with Nixpacks, or uses your
Dockerfilewhen there is one. Set the port your app listens on and any environment variables it needs.Deploy
The first build starts right away. When it's done the service shows its URL, for example
https://my-app.pherwerz.app, with TLS already on. Every push to the branch deploys again.
Deploy a folder instead
No GitHub needed: the CLI packs a folder (leaving out what .gitignore
leaves out) and uploads it.
terminal
npx @pherwerz/cloud login
npx @pherwerz/cloud deploy service . --environment <id> --name my-appThe first deploy creates the service named my-app; later deploys from the
same folder upload a new version. Add --static for a static site.
Next
- Add a database: Databases.
- Get a copy of the app for each feature branch: Preview environments.