barberscore / barberscore-api

Contest Registration and Scoring System for the Barbershop Harmony Society International convention
https://www.barberscore.com
BSD 2-Clause "Simplified" License
12 stars 4 forks source link
barbershop-harmony-society

Barberscore API

This is the back-end API that powers the new scoring system for the Barbershop Harmony Society.

Getting Started

This API is based on Django and the Django Rest Framework. Here are the basics to set up your local environment.

Prerequisites

You will need the latest versions of the following core dependencies properly installed on your computer.

Installation

Run these commands to get started

Configuration

Set the following Environment Variables: Note: if you don't have credentials, talk to the Barberscore Admin.

DJANGO_SETTINGS_MODULE=settings.dev
PYTHONPATH=project
SECRET_KEY=(your secret here)

DATABASE_URL=(your credentials here)
REDIS_URL=(your credentials here)

BARBERSCORE_CLIENT_ID=(your credentials here)
BARBERSCORE_CLIENT_SECRET=(your credentials here)
AUTH0_DOMAIN=(your credentials here)

CLOUDINARY_URL=(your credentials here)

WKHTMLTOPDF_PATH=/usr/local/bin/wkhtmltopdf (or your path)

Running

Run these commands to start the app.

Support

If you have any questions let us know at admin@barberscore.com!