https://github.com/werainkhatri/codecourt
Online code submission and evaluation platform.
https://github.com/werainkhatri/codecourt
django docker gunicorn nginx psql
Last synced: 3 months ago
JSON representation
Online code submission and evaluation platform.
- Host: GitHub
- URL: https://github.com/werainkhatri/codecourt
- Owner: werainkhatri
- Created: 2021-08-30T12:43:48.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-08-14T21:05:14.000Z (almost 4 years ago)
- Last Synced: 2025-03-30T14:02:02.053Z (about 1 year ago)
- Topics: django, docker, gunicorn, nginx, psql
- Language: Python
- Homepage: http://codecourt.virenkhatri.me
- Size: 50.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CodeCourt
Code submission and evaluation plaform using docker for execution and security. It's a court for code, constituting judges of different languages, conducting sessions in their own container.
Currently supports c11, c++14, c++17, c++20, python 2 and python 3, with more to come.
## Getting Started
1. Make sure you have [python](https://www.python.org) and [docker](https://docs.docker.com/get-docker/) installed on your machine.
1. Setup and start virtual environment. If you don't have `python3`, replace with `python`.
```bash
python3 -m venv venv
source venv/bin/activate
```
2. Install dependencies and migrate
```bash
pip install -r requirements.txt
python manage.py migrate
```
3. Run server and open *localhost:8000* in a browser
```bash
python manage.py runserver
```
4. To test
### This will download the images for specific languages which can be in GBs, so this may run long for the first time. Don't forget to delete the docker instance after this test completes.
```bash
python manage.py test
```