forked from spree/spree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
27 lines (17 loc) · 974 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
27
== 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 bootstrap rake task:
$ rake db:bootstrap RAILS_ENV=production
(If you would like bootstrap your development database just run `rake
db:bootstrap RAILS_ENV=development` or simply `rake db:bootstrap`.)
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 "admin" with a password of "spree".