Skip to content

Commit

Permalink
cook-109 update readme usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jtimberman committed May 19, 2009
1 parent 0cdb775 commit 0eb5197
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion radiant/README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,17 @@ Opscode cookbooks (http://github.com/opscode/cookbooks/tree/master)

= USAGE:

The first time the application is deployed, rake db:bootstrap needs to be done. At this time there's no automation for that, as it prompts for user input.
This recipe uses SQLite3 for the database by default. To set up the default database to get Radiant rolling, run a db:bootstrap by changing the radiant[:migrate] command to the following in the webui:

yes | rake production db:bootstrap \
ADMIN_NAME=Administrator \
ADMIN_USERNAME=admin \
ADMIN_PASSWORD=radiant \
DATABASE_TEMPLATE=empty.yml

Change as required for your environment. If the target system doesn't have /usr/bin/yes, use echo 'yes' instead.

Radiant supports other database backends. We don't yet have automation ready to set up a database user and grant privileges, or creating the database itself.

= LICENSE and AUTHOR:

Expand Down

0 comments on commit 0eb5197

Please sign in to comment.