GithubHelp home page GithubHelp logo

porkchopclub / porkchop Goto Github PK

View Code? Open in Web Editor NEW
4.0 9.0 3.0 3.3 MB

Ping Pong tracking!

Home Page: https://porkchop.club

License: Other

Ruby 74.34% JavaScript 9.08% CSS 7.75% HTML 8.83%
ruby rails table-tennis ping-pong bacon react

porkchop's Introduction

PorkChop.club Build Status Code Climate Test Coverage

A ping pong scoreboard and stat-tracking application.

Development

Requirements

  • a reasonable version on NodeJS
  • whatever Ruby version is specified in the Gemfile
  • PostgreSQL database
  • Redis server (on an Ubuntu system, all you need to do is sudo apt-get install redis-server)
  • Yarn dependency manager (if you already have NodeJS you just need to npm install --global yarn)

Setup

# Run these to these to get the project setup:
$ ./bin/setup

# For development run these simultaneously:
$ bundle exec rails s -p 2277
$ bundle exec sidekiq
$ npm run watch

# If you want to use LiveReload, also run:
$ bundle exec guard

Style Guides

JavaScript

This project inherits from Airbnb's JavaScript Style Guide, with a few changes.

# To see your violations run
$ npm run lint

# To fix any that can be automatically fixed
$ npm run autofix

Ruby

We use Rubocop to enforce the Relaxed.Ruby.Style guide, with a few changes.

# To see your violations run
$ bundle exec rubocop

# To fix any that can be automatically fixed
$ bundle exec rubocop -a

porkchop's People

Contributors

adammathys avatar forkata avatar graygilmore avatar jarednorman avatar jhawthorn avatar sinetheta avatar stewart avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

porkchop's Issues

Match controls for the table vicinity

This may or may not have a code component, but it would be nice to be able to control the matchmaking without using a phone or yelling at someone to visit the website.

Kill React Header

It creates a whole bunch of problems, and only solves a few of them.

Is site down?

I couldn't access to https://porkchop.club/
It gives me

This site can’t be reached
porkchop.club’s server IP address could not be found.
DNS_PROBE_FINISHED_NXDOMAIN

Add Good Permissions

Confirmed users should be able to queue if they've ever played a match on the table. Stembolt users should have access to match controls. "Admins" should be able to mess with other users.

Clear queue

Automatically clear the queue at 8am, 12:55pm to avoid people getting "left in" after lunch and after work.

Clean-up sass variables

Use $color-link and $color-link-hover instead of named colors. Will make changing colors much easier.

"retire" inactive users

Either a flag, or add a scope that grabs players that have actually played in the last few months.

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.