== README This application is being created to run a wrestling tournament. Public production page: https://wrestlingapp.cometwrestling.com https://wrestlingapp.herokuapp.com Development details: * Ruby 2.2.0 * Rails 4.2.0 * Install gems without production bundle install --without production * Test with minitest rake test * Seeds created for development rake db:seed * Development login email: test@test.com password: password Docker instructions: * Building and running the image: bash rails-dev.sh wrestlingapp 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 bash rails-dev-db.sh to set up the development db's. After those are set up, you can run rake test to run the tests or rails s -b 0.0.0.0 to run a development server. You can also run any other rails commands from here. * Production docker image: Run bash rails-prod.sh wrestlingapp. 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 https://trello.com/b/OIF9s2Gw