Giter Club home page Giter Club logo

csv_normalizer's Introduction

Welcome to My CSV Normalizer

  1. This is a Ruby on Rails project using Rails 4.2.6 and Ruby 2.3.1. In case you don't have Nokogiri installed, install it now.
  2. This project requires use of MySQL and knowledge of how to edit database.yml to configure it. You must provide your own username and password for your local MySql instance.
  3. I have tested the app on Ubuntu. I do not own or have access to a Mac.
  4. Upon patching the repo with my submission, and getting mysql working, open up a terminal, cd into the root directory and run
% bundle install
% rake db:drop && rake db:create && rake db:migrate

This will set up your empty database.

  1. To start the rails server run
% rails s
  1. Visit localhost:3000 and upload a file. The example file included in this assignment as well as a malformed one are available in app/helpers/example_data.csv and app/helpers/bad_example.csv respectively. Attempting to upload malformed files is an idempotent operation that does not alter the database in any way.

  2. To run the test suite, cd into the app root directory and run

% rspec spec

You should see a message with the output of 28 test cases with (96.47%) code coverage.

If you have trouble getting this it to work, please contact me at [email protected]

HAVE FUN!

csv_normalizer's People

Contributors

dependabot[bot] avatar spencerbartz avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.