Installation
How to get started with the project.
Follow these steps to get the project up and running.
Requirements
- Node.js 22 or newer
- A PostgreSQL database
Steps
- Clone the repository.
- Install dependencies:
pnpm install- Copy
.env.exampleto.envand fill in the values:
DATABASE_URI=postgres://user:password@localhost:5432/my_db
PAYLOAD_SECRET=a-long-random-secret- Start the development environment:
pnpm devThat's it! Your local environment is now running at http://localhost:3000.
Database first
The development server needs PostgreSQL up before it starts. If the admin returns 500 but the public site loads, the database is almost certainly down.
Last updated on

