I have installed the latest version of Radiant using $ sudo gem install --include-dependencies radiant $ sudo radiant --database mysql /var/www/radiant Edit config/database.yml as required. $ sudo nano config/database.yml Run the database bootstrap rake task: $ sudo rake production db:bootstrap Migrate and initialise DB: $ sudo rake db:migrate Start it like a normal Rails application. To test execute: $ sudo script/server -e production Open a Web browser on port 3000 => http://192.168.100.20:3000 It works to here, however once I use Crtl-C and then re-initialise it using $ sudo mongrel_rails start The styled site (option 3) loads OK but if I try to access any of the three default posts, the page then loads the /admin/login page instead of the particular post. I have reloaded this again from scratch with the same result. Any ideas what is occurring? Regards, Ben.
on 2007-07-06 05:16
on 2007-07-06 05:22
Did you type $ sudo rake db:migrate when you should have run $ sudo rake production db:migrate Matt Parrish http://www.pearware.org
on 2007-07-06 05:40
Hi Matt, Thanks for that, I reran both rake commands using the production, sorted, but then after modifying the /usr/bin/mongrel_cluster to ensure the correct shebang for ruby on ubuntu, it reverts to the /admin/login issue again. Might clean sweep, start again. Cheers, Ben.