/platanofb

Platano Football

Primary LanguageHTML

About this project

This project is using GitHub Pages to host a website for a daily fantasy football league.

example.md

/example.md is a template that can be used with a JSON file generated using dkextract.

Test project locally

Follow directions listed here: Testing your GitHub Pages site locally with Jekyll

  1. Clone this repository: git clone git@github.com:climardo/platanofb.git.
  2. Install Jekyll. On Debian:
sudo apt-get install ruby-full build-essential
  1. Install Bundler.
  2. Install Nokogiri dependencies.
  3. Execute bundle install in the repository directory.
  4. Execute bundle update.

Additional resources

./new_week.py 139261293 /relative/path/to/contest_standings.csv

  • 139261293 - The first argument is the new contest id. Generate a new contest at DraftKings to get a new contest id.
  • contest_standings.csv - The second argument is the relative path to the contest standings CSV which should be downloaded by visitng the previous week's contest.
    'Export lineups to CSV'