Skip to content

two-man-army/deadline

Repository files navigation

Introduction

Deadline is a web application for solving programming challenges Deadline Logo

Currently going through a re-design. Here is a taste of things to come:

Redesign Sample

Old design

Still a work in progress

Supported languages:

  • Python
  • Go
  • Rust
  • Kotlin
  • C++
  • Ruby

Created using the Django REST Framework and React.js

Authors

Up & Running

How to get the backend working

First, you need to have Python 3.6 installed, as that is what we use in this project.

Install all the requirements pip install -r requirements.txt

You will also need to install and run a RabbitMQ server which we use for notifications. Here are some instructions

For Django to connect with the database you need to have a running PostgreSQL server. Start one and either hardcode the username, password, database name and host in settings.py or be a proper gentleman and create a .env file. Said .env file should be in /deadline/deadline_/deadline/.env (what the fuck?), right beside the settings.py folder. Enter the following in it, replacing the values with your local ones.

DB_USER=root
DB_NAME=deadline
DB_HOST=localhost
DB_PASS=iliketurtles
RABBITMQ_HOST=localhost
RABBITMQ_USERNAME=guest
RABBITMQ_PASSWORD=guest

Then run the migrations python manage.py migrate

You're done! python manage.py runserver