- Ensure you have Postgres installed locally
- Set the
DATABASE_URL
environment variable, something like this:
DATABASE_URL=postgresql://<your_computer_username>@localhost:5432/blitz-example-store
- DB migrate
blitz db migrate
- Start the dev server
blitz start
Open http://localhost:3000 with your browser to see the result.