Run npm install
This app requires several environment variables for operation. You can copy .env.example to .env and replace the placeholders. DATABASE_URL doesn't need to change unless you want to change the location of the SQLite DB.
Run npx auth secret to generate a new auth secret, then add it the .env file.
To enable oauth authentication via Github you will need to register an app. Documentation can be found here: https://authjs.dev/guides/configuring-github#registering-your-app
After the environment variables are updated you can initialize the dev database:
npm exec prisma migrate devYou will need Docker running on your system in order to execute user generated code in an isolated environment.
Pull the necessary Docker images:
docker pull node:20
docker pull python:3.9
Simply run the development server:
npm run devOpen http://localhost:3000 with your browser to see the result.
To run the tests:
npm run test