An Online Judge Platform built using Django
An online judge that supports the following languages:
Clone the repositorygit clone https://github.com/morphosis-nitmz/Code-Warrior
Rename the file .env-sample to .env and replace the value of SECRET_KEY
with the secret key of your own project. To generate a new secret key
django-admin startproject <proj-name>
.SECRET_KEY
in settings.py and use that as the secret key for the Stock-Bridge project.Sendgrid setup:
EMAIL_HOST_USER
and EMAIL_HOST_PASSWORD
in credentials.py respectively.DEFAULT_FROM_EMAIL
and MANAGERS
in all settings files with your name and email.Run the following commandspython manage.py makemigrations
python manage.py migrate
python manage.py collectstatic
Now load the questions, test cases, expected outputs and user submission into the databasepython manage.py loaddata questions/fixtures/questions.json