Sawangg / madle

Madle internship platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Madle

The next generation Moodle!

Run this project locally

Install the dependencies

You need the following

Start the project

This project needs a local database, you can run it using docker

docker run --name madledb -p 5432:5432 -e POSTGRES_PASSWORD=root -e POSTGRES_USER=root -e POSTGRES_DB=madledb -d postgres

Next you need to add .env file in the root of the project. See the wiki here for more informations.

Install the project dependencies

pnpm i

Then build the project

pnpm build

And run it!

pnpm start

Initializing data

The database will be empty when the container is launched. To initialize the database and the different tables, do the following:

cd <your_path>/madle
pnpm db:push

If you want to access a drizzle easily without entering the postgreSQL container you can do :

cd <your_path>/madle
pnpm db:studio

You can now see the website on http://localhost:3000 🚀

About

Madle internship platform

License:MIT License


Languages

Language:TypeScript 96.2%Language:JavaScript 3.8%Language:CSS 0.1%