Code Monkey home page Code Monkey logo

oldtimehockey's Introduction

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.