Skip to content

ShaneGallatin/record_collector

Repository files navigation

Record Collector

Ruby on Rails site used to manage a collection of records.

Info

Initial Installation

  • Clone the repo and cd to wherever you saved it
  • Install Homebrew: https://brew.sh/
  • Install Mysql5.6: brew install mysql@5.6 && brew services start mysql@5.6
  • Install Rbenv: https://github.com/rbenv/rbenv
  • Install Ruby: rbenv install
  • Install Bundler: gem install bundler
  • Install other dependencies: bundle install

Initial Setup

  • Create local database: rake db:create
  • Migrate local database: rake db:migrate
  • Run the project: rails s or choose a port: rails s -p 4000

Future Work Ideas

  • Add more info the the user model (first name, last name, etc.) with a settings page to manage that info.
  • Add a search to the record index page in order to search for a specific record in the list.
  • Add an "Band" model to associate albums to their bands. Artist would have attribtues like name, description, hometown? start/end dates? Bands would "have many" albums, and an album would "belong to" a band.
  • Add an "Artist" model to associate artists to their bands. Bands would "have many" artists.
  • Add a "Track" model to add songs to albums. Albums would "have many" tracks, and a track would "belong to" an album.
  • Expand the record index page to add band or artist to the search.
  • Add the ability to upload an image (album cover) and store it on the album model.

GIT

List of common commands: https://github.github.com/training-kit/downloads/github-git-cheat-sheet.pdf

Generally:

  1. Start on develop branch, if not on it: "git checkout develop"
  2. Make and checkout a new branch: "git checkout -b BRANCH_NAME"
  3. Make code changes
  4. Add changes to your branch: "git add FILENAME" or "git add -p"
  5. Commit your changes: "git commit -m 'YOUR MESSAGE HERE'"
  6. Push your branch to github: "git push origin BRANCH_NAME"
  7. Open a pull request on github from your branch into the develop branch

About

Organize and categorize your record collection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published