- Setup env
cp .env.example .env
- Run postgres and minio(local s3) container
docker compose up -d
- Run next server
pnpm dev
- Seed your database
pnpm seed
-
Admin dashboard is located at https://localhost:3000/admin
-
If you want to access minio dashboard go to https://localhost:9001
- Login using
username:
minioadmin
password:minioadmin
- Login using
username:
-
If you've made changes to
Collections
or added a new one, run
pnpm payload migrate:create
Commit the migration files too.