Use this workflow when you want a local Gutenberg instance with demo data, default courses, and seeded content ready to inspect.
Steps
- Clone the repository and pull the material:
git clone https://github.com/OxfordRSE/gutenberg.gitcd gutenbergyarn pullmat
- Start a local PostgreSQL instance that matches the repo’s local development settings.
- Install dependencies:
yarn install
- Apply the database schema:
yarn prisma migrate dev
- Seed the database:
npx prisma db seed
Reset and reseed
If you want to recreate the local database from scratch and reload the seed data in one step, run:
yarn prisma migrate reset --force
What happens next
Start the app with yarn dev and browse the local courses, events, and seeded demo content.