Skip to content

Online Judge Platform of PICT ACM Student Chapter (Backend) 🚀

License

Notifications You must be signed in to change notification settings

PICT-ACM-Student-Chapter/OJ_API

Repository files navigation

Online Judge API

CodeFactor Android-master Actions Status

🔥 Online Judge Platform of PICT ACM Student Chapter

System Architecture

System Architecture

Prerequisites

This project is built on top of docker containers. So ensure that you have Docker and Docker Compose installed on your system For installation instructions refer: https://docs.docker.com/install/

To run test cases:

docker-compose run app sh -c "python manage.py test && flake8"

Starting the Server

Start the PostgreSQL server first:

docker-compose up db

Then start whole project:

docker-compose up

Execute Commands

To execute any commands inside django docker container, follow this format:

docker-compose run app sh -c "command here"

Examples

  • Create Super User:

    docker-compose run app sh -c "python manage.py create superuser"
  • Add New App:

        docker-compose run app sh -c "python manage.py startapp polls"

API Documentation

API documentation is done using swagger visit /swagger for API documentation

About

Online Judge Platform of PICT ACM Student Chapter (Backend) 🚀

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •  

Languages