156af3d64c1f43f3cdc7d61f9e7c867af21d4957
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.
setup
Provision a remote PocketBase server. This will:
- Setup up a firewall.
- Install and setup Caddy.
- Download pocketbase and configure the
.env. - Configure the systemd service for the remote instance.
deploy
Syncs pb_public, pb_migrations, and pb_hooks, then restarts the remote PocketBase service. The command will automatically run setup if the PocketBase binary isn’t present on the remote.
logs
secrets
Description
Languages
Go
100%