12 October 2020
This is a project for Epicodus to practice creating a Rails application with a one-to-many relationship. The original instructions include:
Create an app to manage a league with teams and tournaments. You can decide what kind of league will be your client. Possible ideas include a sport of some sort: high school basketball, college foosball, bobsledding; a game of some sort: chess, board games, tiddlywinks, community laser tag; an activity of some sort - relay racing, ice sculpting, snail racing, country line dancing.
As the league manager, I want to add, update, delete and list teams. As the league manager, I want each team to have a team coordinator so I have a single point of contact for that team. As the team coordinator, I want to add, update, delete and list players on my team so I can keep track of who is currently on it. Further Exploration As the league manager, I want to set up games between teams so I can keep track of scores and win-loss records. As the league manager, I want to generate a tournament that pits the top teams against each other based on their records. (Hint: Pick an even number like 8 or 16 so every team in the tournament always has a match.)
- For this project, you will need Ruby. Follow the directions here for setting up Ruby.
- Install Rails on your machine with the following terminal command
gem install rails -v 5.2.0
- Navigate to the directory on your local computer where you would like to clone this repo.
- Clone this repo using the
git clone
command in terminal/command line. - Navigate to the cloned folder and run
gem install bundler
to install Bundler, which will mange all gem installations for our project. - Run
bundle
orbundle install
in your command line to download all dependencies. (If you add additional gems later, you will need to runbundle update <gem name>
.) - Open the cloned repo in a text editor of your choice.
- To Run Tests: While in the root directory of this project, run
rspec
in your command line. - To Run the App in Browser: While in the root directory of the project, run
rails s
in the terminal. This will start a server, which you can access by enteringlocalhost:3000
in your browser.
There are no known bugs at this time.
Items to Improve: Complete the futher exploration tasks listed in the description.
- HTML5
- CSS
- Ruby
Copyright (c) 2020 Brycen Bartolome and Vanessa Stewart
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.