This is a simple web application that allows user to upload a tab-delimited file containing sales data. If upload is successful, the gross revenue (or sales) from the uploaded file is displayed.
Dependencies: Rails 4.0.3, Ruby 2.0, SQLite 3.0, HAML, RSpec, FactoryGirl, Money, ruby-openid, open_id_authentication, and Roo gems.
Install Ruby 2.0.0 (or later) version. You can do this with Ruby Version Manager (RVM) with the following command:
rvm install 2.0.0
rvm use 2.0.0 --default
- Clone the repository
- Install all gems using the following command: bundle install
- Run the server using the following command: bundle exec rails start
- Browse to http://localhost:3000 (or http://lvh.me:3000) to see the import page
Run the following command to run all unit tests for this project: rspec spec