Running the LoL@Pitt OLS Website
- Riot API Key
- Riot Tournament API Key
- [Python 3.5] (https://www.python.org/downloads/)
- Django [Win][Linux]
- Django-tables2
- Cassiopeia
- Install Python 3.5
- Install Django
python -m pip install Django
- Install Django-tables2 and cassiopeia with pip
python -m pip install django-tables2
python -m pip install cassiopeia
- Add SECRET_KEY value to \olsrunner\ols\settings.py (this can be whatever you want)
- Run database migration commands
Navigate to \olsrunner\python manage.py makemigrations
python manage.py migrate
- Before all riotapi and baseriotapi in views.py and models.py, append riotapi.setkey or baseriotapi.setkey with your appropriate key
- Run website
python manage.py runserver