Skip to content
 
 

Repository files navigation

Project Description

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.

Prerequisites

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

Deployment Instructions

  1. Clone the repository
  2. Install all gems using the following command: bundle install
  3. Run the server using the following command: bundle exec rails start
  4. Browse to http://localhost:3000 (or http://lvh.me:3000) to see the import page

To run the tests

Run the following command to run all unit tests for this project: rspec spec

About

Challenge for those applying to the Software Engineer, Big Data position

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages