README
-
products.json
dropped intolib
folder -
Products are imported via rake task
products:import_from_json
Setup
- start rails:
yarn install && bundle install && rails db:setup
(need to update config/database.yml first, and make sure you have postgres running: checkpsql
command) - import products:
rake products:import_from_json
rails s
- basic tests:
rails test
(need to extend these to test the actual cart functionality / discounts)