Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation Instructions:

- git clone git@github.com:eugenekorpan/estore.git
- cp config/database.yml.sample config/database.yml (and update it with your mysql cridentials)
- bundle install
- rake db:reload

After these steps you should have app up and running with some seed data (http://localhost:3000)

Test Coverage

Prepare test database
- rake db:test:clone

Run specs
- rake rcov:rspec

After that you should have `coverage` folder in the rails root directory. Find and open `coverage/index.html`.

After seeding the db it has some new products, you can use them to test rake task which updates user's showroom. Generally that rake task should be executed by cron job but for test purpose you can run 
- rake showrooms:update

After this users's showroom should be updated

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages