A utility that allows you to:
- Import a library MP3s by song, artist, and genre.
- List all songs.
- List all artists.
- List all genres.
- Play a song.
- List the artist.
- List the genre.
list songs: List all songs.
list artists: List all artists.
list genres: List all genres.
play song: Play a song.
list artist: List the artist.
list genre: List the genre.
exit: Quit the program.
help: View available commands.
-
Download and setup Ruby
-
To ensure you have Ruby on your computer:
- Open the terminal
- Type
ruby -v
. - If you have Ruby installed, you should see a response that includes the version number.
-
Clone the repository to a local folder of your choice.
- On GitHub navigate the main page of the repository. Here
- Under the repository name, click on the URL and copy it
- Open Git Bash
- Change the working directory on cmd to the location where you want your clone made
- Type
git clone
and paste the URL. Press Enter* to finish creating your cloned repository
-
Install bundle using the following command.
gem install bundler
-
Use bundler to install the project dependencies.
bundle install
In the checkpoint-one-music-library directory:
1. Run `bin/musiclibrary` for Mac OS and `ruby bin/musiclibrary`
In the checkpoint-one-music-library directory:
1. Run `bundle exec rspec`
2. Use `rspec` for subsequent testing
Use the instructions outlined in the wiki Here
- The application does not actually play the audio of the selected song.
- The application relies on a naming convention for the file names to successfully import the files.