Skip to content

pca/web-backend

Repository files navigation

Philippine Cubers Association API

Test License PRs Welcome

API that powers pinoycubers.org. Built with Django and <3.

WCA Data

All official competition results and data are owned by the WCA (World Cube Assocation) published at https://www.worldcubeassociation.org/results/.

Setup

Requirements

Development Setup

  1. Make a .env file from .env.example

    $ cp .env.example .env
    
  2. Build and run the containers.

    $ docker-compose build
    $ docker-compose up -d
    

Database Setup

  1. Run database migrations.

    $ docker-compose run --rm pca-api migrate
    
  2. Import WCA database.

    $ docker-compose run --rm pca-api syncwca
    
  3. Create a superuser.

    $ docker-compose run --rm pca-api createsuperuser
    

Developers

This repository is maintained by Philippine Cubers Association