-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
69 lines (45 loc) · 1.51 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
SUMMARY
=======
Ecommerceapp is a open source ecommerce solution for Ruby on Rails.
It was developed by [satish](http://satishchauhan.com) at [vinsol](http://vinsol.com)
QUICK START
===========
Running from sources
---------------------------------------------------
1. Clone the git repo
git clone git://github.com/Satish/test_ec.git
After cloning a fresh copy of the repository, run the following commands.
git submodule init
git submodule update
2. Create the necessary config/database.yml file
defaults: &defaults
adapter: mysql
encoding: utf8
username: root
password : root
host: localhost
development:
database: ecommerceapp_development
<<: *defaults
test:
database: ecommerceapp_test
<<: *defaults
production:
database: ecommerceapp_production
<<: *defaults
3. Bootstrap the database (run the migrations, create database)
rake db:create
rake db:migrate
rake db:rebuild
OR
rake db:bootstrap
5. Start the server
script/server
Browse Store
------------
http://localhost:xxxx/
Browse Admin Interface
----------------------
http://localhost:xxxx/admin
login : login1
password : changeme