Files
pb/README.md

28 lines
470 B
Markdown

# pb
A simple, rsync-based PocketBase deployment tool.
## Commands
### `init`
Start a new PocketBase project (optionally provide a service name via `pb init <name>`)
### `dev`
Run the local dev server.
### `deploy`
Deploys pocketbase to a remote server. This will:
1. Setup up a firewall.
2. Install and setup Caddy.
3. Download pocketbase and setup a systemd service.
4. Copy pb_public, pb_migrations and pb_hooks.
5. Start the service.
### logs
### secrets