Setup-on-mac

Edit

Setup on Mac

A one-time walkthrough for getting a Cloudzilla development environment running on macOS.

1. PostgreSQL

Cloudzilla stores everything in PostgreSQL. Install and start it with Homebrew, then create the database:

brew install postgresql@16
brew services start postgresql@16
createdb cloudzilla

2. Tailwind CLI

The CSS is compiled by the standalone Tailwind CLI. The Makefile downloads it for you:

make setup-tailwind

3. Run the server

Point Cloudzilla at your database, apply migrations, and start the dev server — this also runs the Tailwind watcher:

export CZ_DATABASE_DSN="postgres://localhost/cloudzilla?sslmode=disable"
make migrate
make dev

The app is now serving on http://localhost:8080.

Delete this page?

This permanently removes the "Setup-on-mac" page from the wiki. This cannot be undone.

Delete page