Git Product home page Git Product logo

fantasy-marchmadness's Introduction

Build Status

fantasy-marchmadness

Individual player point tracker for March Madness. Challenge your friends to a fantasy sports style league for college basketball.

Setup

  1. Clone the repo.
  2. docker-compose up -d (for local mode) -or- /usr/local/bin/docker-compose -f docker-compose.prod.yml up -d (for prod)
  3. Connect to the database and run the mm-sql-init.sql script in the database folder.

yum update sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo sudo yum makecache fast yum install git https://docs.docker.com/compose/install/#master-builds /usr/local/bin/docker-compose up -d

[root@ip-172-31-82-42 fantasy-marchmadness]# export mm_mysql_host='' [root@ip-172-31-82-42 fantasy-marchmadness]# export mm_mysql_user=' [root@ip-172-31-82-42 fantasy-marchmadness]# export mm_mysql_pass=''

/usr/local/bin/docker-compose -f docker-compose.prod.yml up -d

Amazon linux

yum UPDATE sudo yum install -y docker sudo service docker start

Useful commands

Bring up just the database: docker-compose up -d mysql-dev

SQL, drafting: UPDATE mm.player SET owner_id = (select id from mm.owner where name = 'Adam'), drafted_round = '1' WHERE (id = '2');

fantasy-marchmadness's People

Watchers

 avatar  avatar  avatar

Forkers

alexcromer

fantasy-marchmadness's Issues

Unable to select other owners from owners page

Describe the bug
When selecting other owners, new owner doesn't load .

To Reproduce
Steps to reproduce the behavior:

  1. Go to /owners/{id}
  2. Change the owner from the dropdown

Expected behavior
Owner should change, display team

Additional context
If you change the owner, then click away, then click to change again, it fires off.

SQL for functions not in initialization

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

Random games not completing

Describe the bug
1 game out of every round seems to not complete, requiring manual update of the game and eliminating the losing team.

To Reproduce
Steps to reproduce the behavior:

  1. Allow normal game scraping to happen.
  2. Check the games.

Expected behavior
All completed games have an active column of 0 and the eliminated team has eliminated of 1.

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.