The next generation Moodle!
You need the following
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
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 🚀