Local sport web page
Python CSS HTML JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
banners
flatpages
kiroletik
locale/eu/LC_MESSAGES
media
requirements
sports
widgets
.gitignore
.travis.yml
Procfile
README.md
initial_auth_data.json
manage.py
requirements.txt
runtime.txt
sample_data.json

README.md

Install

# Python requirements
pip install -r requirements.txt

# JS requirements
cd kiroletik/static/
bower install
cd ../../

# DB creation
python manage.py migrate

# Admin user creation
python manage.py createsuperuser

Sample data

python manage.py loaddata sample_data.json

Test

Build Status

pip install -r requirements/dev.txt
python manage.py test

Run

python manage.py runserver

Push to heroku

pip install -r requirements/heroku.txt
# After setting up the heroku credentials with
# heroku login
git push heroku master

Required views

  • flatpages
  • news detail
  • latest news (paginated)
  • latest news per sport (paginated)
    • list of competitions and seasons
  • season detail
  • latest match results (paginated)