Forum: Radiant CMS Configuration of Radiant Mental with MySql & Litespeed ver 3

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E141d56a20e64d95b1e48f0b4703f94c?d=identicon&s=25 Benjamin Minton (Guest)
on 2007-03-31 09:43
(Received via mailing list)
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.
A47e0a6beeb9d048ff054fc1c3a97418?d=identicon&s=25 Walter Davis (walterdavis)
on 2007-03-31 15:50
(Received via mailing list)
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
8f93a872e399bc1353cc8d4e791d5401?d=identicon&s=25 Mislav MarohniÄ? (mislav)
on 2007-03-31 16:54
(Received via mailing list)
On 3/31/07, Walter Lee Davis <waltd@wdstudio.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 :-/
A47e0a6beeb9d048ff054fc1c3a97418?d=identicon&s=25 Walter Davis (walterdavis)
on 2007-03-31 18:47
(Received via mailing list)
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
This topic is locked and can not be replied to.