This repo may not be updated from May 2013 and switch all the dev stuff to a private repo. Mail me if you have any questions.
- A simple eshop project created with Ruby on Rails.
- Created by Felix Li < leegyao@gmail.com >
- $ git clone https://github.com/f3lix/rails_eshop
- $ cd rails_eshop
- Modify config/database.yml, get your database online
- Run $ bundle install to resolve dependencies
- Run $ bundle exec rake db:create to create database defined in config/database.yml
- Run $ bundle exec rake db:migrate to run the migrations
- Run $ bundle exec rake db:reset to clear the data in your database
- Run $ bundle exec rake db:seed to feed your database with some test data
- Run $ bundle exec rake db:populate to populate some fake data
- Run $ bundle exec rake db:test:prepare to make your database ready
- Run $ rails s to start WEBrick on port 3000 by default
- You have an admin user account 'sample@gmail.com' with password 'adminadmin'
- Run $ bundle exec rake test on your machine
- Run $ bundle exec rake spec to run the repec test scropts
- Or you can check build log per each commit through https://travis-ci.org/f3lix/rails_eshop/builds
- Ruby 1.9.3
- Rails 3.2.12
- MySQL Community Server 5.5.24