Coder Social home page Coder Social logo

statkeeper's Introduction

StatKeeper

Overview

At Rdio, we have a ping pong table and some folks who like to talk a big game. This was hacked up in order to keep a record of the fierce office competition we have going. The code can support more than the one game and even rudimentary team sports like doubles ping pong.

An example can be seen at http://oidr.net/.

Instructions

It's just a Django app. Recommended for running it are pip, virtualenv and npm. Set up your python virtual environment and then do a

pip install -r requirements.txt

to install the required python libraries, and an

npm install

to install helpers for the css and js on the frontend. The rest of it is the usual Django stuff, though site-specific settings can be managed via a localsettings.py file in the statkeeper directory. In production, I use something like:

SECRET_KEY = 'YOUR SECRET KEY HERE'
DEBUG = False
TEMPLATE_DEBUG = DEBUG
ALLOWED_HOSTS = ['example.com', 'example.com.']

# Note that this is disabled currently because of js bugs.
PIPELINE_ENABLED = False

# Your DB info here
#DATABASES = { ... }

Then static files can be deployed with a

./manage.py collectstatic -c

and should be served separately from the rest of the app. A few lines in urls.py can be uncommented to allow production style deployment in testing.

Credits

Written by Joshua "uzi" Uziel in a few nights for fun. Later extended and polished up as a Hackday project by Joshua "uzi" Uziel, Joe Gasiorek, Nod Raber and Mike Towber.

statkeeper's People

Contributors

joeyg avatar klobucar avatar uzi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

statkeeper's Issues

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.