Skip to content

duongdo27/project_alpha

Repository files navigation

Project Alpha

A collection of fun apps I created in my free time. Enjoy! As simple as other Django apps, after cloning the repo, you can install the required packages with:

pip install -r requirements.txt

And start the app locally with:

python manage.py runserver

It also comes with all the necessary files to be able to host it on Heroku. Here is the instruction

Below are the specific instruction for each component.

1. Soccer Leagues

Using raw data from RSSF website, we create an organized structure of soccer leagues from recent years, with detail statistics of each round, as well as overall performance of each team.

The config file of leagues to be loaded is stored in leagues.yml. To load leagues into database:

python manage.py load_league

Then to process raw data into useful statistics:

python manage.py process_league

For Heroku, please append heroku run in front of each command.