1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00
2015-10-13 20:57:35 -04:00
2015-02-09 11:02:00 -05:00
2015-06-30 17:59:02 +00:00
2013-12-23 11:04:30 -05:00
2013-12-23 11:04:30 -05:00
2015-10-13 20:57:35 -04:00
2013-12-23 11:04:30 -05:00
2015-07-01 08:41:06 -04:00
2015-07-01 15:20:56 -04:00
2013-12-23 11:04:30 -05:00
2015-10-07 10:18:58 -04:00
2015-10-07 10:18:58 -04:00
2015-04-22 09:53:02 -04:00
2015-09-29 11:06:30 -04:00
2015-09-29 11:06:30 -04:00
2013-12-23 11:04:30 -05:00
2015-10-09 13:44:07 -04:00
2015-10-08 17:20:00 -04:00

== README

This application is being created to run a wrestling tournament.

Public production page:

<tt>https://wrestlingapp.cometwrestling.com</tt>

<tt>https://wrestlingapp.herokuapp.com</tt>


Development details:

* Ruby 2.2.0

* Rails 4.2.0

* Install gems without production <tt>bundle install --without production</tt>

* Test with minitest <tt>rake test</tt>

* Seeds created for development <tt>rake db:seed</tt>

* Development login email: <tt>test@test.com</tt> password: <tt>password</tt>

Docker instructions:

* Building and running the image: <tt>bash rails-dev.sh wrestlingapp</tt> This will mount your local directory to /rails inside the container and will open port 3000 to port 3000 on your local machine.

* After running the above script, you'll be presented a shell. You'll need to run <tt>bash rails-dev-db.sh</tt> to set up the development db's. After those are set up, you can run <tt>rake test</tt> to run the tests or <tt>rails s -b 0.0.0.0</tt> to run a development server. You can also run any other rails commands from here.

* Production docker image: Run <tt>bash rails-prod.sh wrestlingapp</tt>. This will create a self-signed ssl certificate and set up wrestlingapp on passenger/apache. The container will run with port 80 and port 443 open and will have a restart policy of always.

What the app does now:

* Allows tournaments to be set up by someone logged in

* Allows schools, wrestlers, weights, and mats to be created by someone logged in

* Generates matchups for a pool to bracket type tournament for 2-16 wrestlers

* Assigns bout numbers for each match based on round and weight class

* Shows view of pools/brackets

* Assigns matches to a mat based on next available bout number


Public Trello page

<tt>https://trello.com/b/OIF9s2Gw</tt>
Description
No description provided
Readme MIT 8.9 MiB
Languages
Ruby 73.1%
HTML 15.3%
JavaScript 10.9%
Shell 0.5%
CSS 0.2%