chrisparsons83 / OldTimeHockey

Website and scripts for OldTimeHockey fantasy hockey league.

Home Page:http://www.roldtimehockey.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome to OldTimeHockey

OldTimeHockey is a fantasy hockey superleague that was started via Reddit in 2013. It has since expanded to include its own website and Discord server with bots and scripts in support. All of the code for these lives in this repository and is deployed by Spartan97/SPRX97. If you are interested in contributing or re-purposing, feel free to contact me on Discord (SPRX97#9662), Reddit, or Github.

List of Things That Exist in This Repository

OldTimeHockey/react/*: Frontend code and markup for the website www.roldtimehockey.com
OldTimeHockey/node/*: Backend code to access the OldTimeHockey SQL database
OldTimeHockey/scripts/*: Code that scrapes the leagues on Fleaflicker and updates the SQL database and posts weekly recaps to Reddit
OldTimeHockey/oth.sql: A periodic dump of the full database
OldTimeHockey/crontab: A periodic dump of the cron jobs that keep these scripts continually running
OldTimeHockey/*: Instructions and scripts for setup and running parts of the project

Check out our Discord Bot, Wes McCauley

Other Notes

  • Python 3 is required for all scripts
  • Non-exaustive list of pip installs: cssselect 1.1.0+, lxml 4.6.2+, praw 7.1+, pymysql 1.0.2+
  • The database is a standard mysql installation
  • Everything is deployed from a DigitalOcean droplet running Ubuntu 18.04 x64 (soon to upgrade to 20.04)
  • The droplet takes weekly backups in case of catastrophic failure
  • Processes are managed using pm2 (site deployment and nodejs api)

About

Website and scripts for OldTimeHockey fantasy hockey league.

http://www.roldtimehockey.com


Languages

Language:JavaScript 70.4%Language:Python 27.3%Language:CSS 1.2%Language:HTML 1.1%Language:Shell 0.1%