forked from spree/spree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
26 lines (16 loc) · 995 Bytes
/
INSTALL
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
== Installation and Setup
Once you have extracted the files into the directory where you would like to
install Spree:
1. Create the MySQL/PostgreSQL/SQLite databases for your Web site. You only
need to create the "production" database, but you may also want to create
the "development" and "test" databases if you are developing extensions
or running tests.
2. Edit config/database.yml to taste.
3. Run the database migrations and set up the admin user:
$ rake db:migrate db:admin:create RAILS_ENV=production
(NOTE: In dev mode you can run `rake db:bootstrap` which is equivalent to above but also gives you some sample data.)
4. Start it like a normal Rails application. To test execute:
$ script/server -e production
And open your Web browser on port 3000 (http://localhost:3000). The
administrative interface is available at /admin/. By default the bootstrap
rake task creates a user called "spree@example.com" with a password of "spree".