The Moby Dick App is a Ruby on Rails web-application. The goal of the project is to sort the text of Moby Dick by the top 100 most frequently occurring words while excluding certain stop words, paired with the count occurence of the words.
-
Ruby version: 2.4.0p0 (2016-12-24 revision 57164) [x86_64-darwin16]
-
Configuration: --skip coffee
-
Database creation: postgresql
Follow the instructions below to get started on using the application.
What things you need to install the software and how to install them
- Install Ruby at the command prompt if you haven't yet:
Make sure Ruby is installed on your system:
$ sudo apt-get install ruby-dev$ ruby -v - Install Rails at the command prompt if you haven't yet:
Make sure Rails is installed on your system:
$ gem install railsIf you see the Ruby and Rails versions, then you're good to start!$ rails -v
- Clone the application by running command:
$ https://github.com/jasmineimliu/moby-dick-app.git - Install all dependencies
$ bundle install - Create db and migrate schema
$ rails db:create $ rails db:migrate - Now run your application on
http://localhost:3000On the browser, you should now see "Yay! You're on Rails!"$ rails s
For additional information on Ruby, Rails and postgresql, you may find the following resources helpful: