Hi All, After several runthroughs of the Radiant Mental with MySql, Apache and Mongrel, I diverted to MySql and Litespeed for stability and a much lower memory footprint/overhead on a 256MB Slice. Following Sean's instructions for Radiant Mental using Subversion, I was able to get a working Radiant server that served the http://my.ip.address:3000/admin/login page yet I am unable to login. Unfortunately reviewing the process, it seems I have not setup a database specifically for the Radiant site. Between Sean's instructions and that of Nathan via the radiantcms.pdf, I thought I had everything covered. However, clearly the 'admin' user and the password 'radiant' have not been created. Setup so far: Ubuntu server, system tools, SVN, Mysql, Radiant via SVN, configuration of database.yml. As this is a SVN setup, once I change into the directory, I do not have to run 'radiant site' as this seems to have already been executed. According to the radiantcms.pdf, the next step should have been run the database setup script. Examining the script/ there seems to be no 'setup_database' script. wall@fourwallsandaroof:~/project/radiant$ ls -al script total 56 drwxr-xr-x 5 root root 4096 2007-03-31 05:55 . drwxr-xr-x 16 root root 4096 2007-03-31 06:44 .. -rwxr-xr-x 1 root root 95 2007-03-31 05:55 about -rwxr-xr-x 1 root root 102 2007-03-31 05:55 breakpointer -rwxr-xr-x 1 root root 97 2007-03-31 05:55 console -rwxr-xr-x 1 root root 97 2007-03-31 05:55 destroy -rwxr-xr-x 1 root root 98 2007-03-31 05:55 generate drwxr-xr-x 3 root root 4096 2007-03-31 05:55 performance -rwxr-xr-x 1 root root 96 2007-03-31 05:55 plugin drwxr-xr-x 3 root root 4096 2007-03-31 05:55 process -rwxr-xr-x 1 root root 96 2007-03-31 05:55 runner -rwxr-xr-x 1 root root 96 2007-03-31 05:55 server drwxr-xr-x 7 root root 4096 2007-03-31 05:56 .svn -rwxr-xr-x 1 root root 144 2007-03-31 05:55 version Any help welcome, Cheers, Ben.
on 2007-03-31 09:43
on 2007-03-31 15:50
On Mar 31, 2007, at 3:42 AM, Benjamin Minton wrote: > been created. > > Setup so far: Ubuntu server, system tools, SVN, Mysql, Radiant via > SVN, configuration of database.yml. > Try this: rake production db:bootstrap substitute development for production if that's where you are. That should help. Walter
on 2007-03-31 16:54
On 3/31/07, Walter Lee Davis <email@example.com> wrote: > > > rake production db:bootstrap Thanks, Walter - I never knew you could write it that way. I always used RAILS_ENV to specify the environment :-/
on 2007-03-31 18:47
Well, if you mean for starting it up, or want it to restart in the right environment, then I suppose your way is more 'correct'. For scratching around on my Mac, I use script/server -e production to start up WEBrick in production. Walter