Skip to content

Fractal-WG/fractal-ui

Repository files navigation

Fractal UI

Development

Prerequisites

pnpm

  1. Install the project's dependencies:
pnpm install
  1. Create an .env file in the root of the project and add a DATABASE_URL variable, i.e.:
DATABASE_URL="file:./dev.db"
  1. Run Prisma's migrate command to bootstrap the SQLite database.
pnpm prisma migrate dev
  1. Seed the database with some sample data (optional):
pnpm prisma db seed
  1. Start the application in development mode:
pnpm run dev

Database

Seeding your Database with Mock Data

pnpm run seed

Making Database Schema Changes

Adding a new table
  1. Add your model to ./prisma/schema.prisma
  2. Run pnpm run prisma generate
  3. Run pnpm run prisma migrate dev
  4. Enter a name for the migration, ideally something that describes the nature of the change.

About

A reference, not-production-ready, UI for the Fractal Engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors