Skip to content

f3lix/rails_eshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Read this first

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.

About

  • A simple eshop project created with Ruby on Rails.
  • Created by Felix Li < leegyao@gmail.com >

Build Status

[![Build Status](https://travis-ci.org/f3lix/rails_eshop.png)](https://travis-ci.org/f3lix/rails_eshop)

How to deploy

  • $ 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

How to run

  • Run $ rails s to start WEBrick on port 3000 by default
  • You have an admin user account 'sample@gmail.com' with password 'adminadmin'

How to test

Dev Env

  • Ruby 1.9.3
  • Rails 3.2.12
  • MySQL Community Server 5.5.24

About

A eshop project created with Ruby on Rails.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors