Skip to content

Latest commit

 

History

History
71 lines (53 loc) · 1.51 KB

README.md

File metadata and controls

71 lines (53 loc) · 1.51 KB

Project Overview

This project is built using a variety of modern web development technologies. Below is a list of the main technologies used in this project:

Technologies Used

  • TypeScript
  • Next.js
  • Tailwind CSS
  • Prisma
  • MariaDB
  • DDEV
  • Docker

Getting Started

Follow these steps to set up and run the project locally:

Prerequisites

  1. Download and Install Docker Desktop: Docker Desktop
  2. Download and Install DDEV: DDEV

Steps to Run the Project

  1. Clone the Repository:

    git clone <repository-url>
    cd <repository-directory>
  2. Edit the .env.local and .env Files:

    • Copy the .env.example file to .env.local and .env
    • Update the database connection string and other environment variables as needed
  3. Use Node Version Manager (NVM):

    nvm use
  4. Install Dependencies:

    npm install
  5. Start DDEV:

    ddev start
  6. Run Prisma Migrations:

    npx prisma migrate dev --name init
  7. Generate Prisma Client:

    npx prisma generate
  8. Seed the Database:

    npx prisma db seed
  9. Run the Development Server:

    npm run dev

Your project should now be running locally. Open your browser and navigate to http://localhost:3000 to see the application in action.