root/branches/rails2/INSTALL

Revision 405, 1.3 kB (checked in by jlong, 1 year ago)

merged changes from the mental branch into trunk r125:404

Line 
1
2 == Installation and Setup
3
4 Once you have extracted the files into the directory where you would like to
5 install Radiant:
6
7 1. Create the MySQL/PostgreSQL/SQLite databases for your Web site. You only
8    need to create the "production" database, but you may also want to create
9    the "development" and "test" databases if you are developing extensions
10    or running tests.
11
12 2. Edit config/database.yml to taste.
13
14 3. Run the database bootstrap rake task:
15    
16      % rake production db:bootstrap
17    
18    (If you would like bootstrap your development database run `rake
19    development db:bootstrap`.)
20
21 4. Start it like a normal Rails application. To test execute:
22    
23      % script/server -e production
24    
25    And open your Web browser on port 3000 (http://localhost:3000). The
26    administrative interface is available at /admin/. By default the bootstrap
27    rake task creates a user called "admin" with a password of "radiant".
28
29 When using Radiant on a production system you may also need to set permissions
30 on the public and cache directories so that your Web server can access those
31 directories with the user that it runs under.
32
33 Once you've installed Radiant on your own Web site, be sure to add your name
34 and Web site to the list of radiant users:
35
36 http://dev.radiantcms.org/radiant/wiki/RadiantUsers
Note: See TracBrowser for help on using the browser.