Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 762 Bytes

README.md

File metadata and controls

17 lines (9 loc) · 762 Bytes

This is a Next.js project bootstrapped with create-next-app.

Getting Started

1.Clone the repo and install dependencies npm i.

  1. Create a .env file in your project root and add: DATABASE_URL="mysql://url-to-your-database.com

  2. Initialize submodules: git submodule init then git submodule update

  3. Generate prisma types: npx prisma generate --schema submodules/database/prisma/schema.prisma

  4. Push database schema to database server: npx prisma generate --schema submodules/database/prisma/schema.prisma

  5. run the development server: npm run dev

Open http://localhost:80 with your browser to see the result.