Skip to content

This is a copy of an old private repo intended to be made public to keep api keys hidden because I didn't put it in config like a good programmer back in junior year of college.

Notifications You must be signed in to change notification settings

zachcd/olsrunner-public

Repository files navigation

olsrunner

Running the LoL@Pitt OLS Website

Requirements to run:

Installed using PIP

First time setup

  1. Install Python 3.5
  2. Install Django
    • python -m pip install Django
  3. Install Django-tables2 and cassiopeia with pip
    • python -m pip install django-tables2
    • python -m pip install cassiopeia
  4. Add SECRET_KEY value to \olsrunner\ols\settings.py (this can be whatever you want)
  5. Run database migration commands
    Navigate to \olsrunner\
    • python manage.py makemigrations
    • python manage.py migrate
  6. Before all riotapi and baseriotapi in views.py and models.py, append riotapi.setkey or baseriotapi.setkey with your appropriate key
  7. Run website
    • python manage.py runserver

About

This is a copy of an old private repo intended to be made public to keep api keys hidden because I didn't put it in config like a good programmer back in junior year of college.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published