[Radiant] Deployment without SSH?
Josh Ferguson
josh at besquared.net
Sun Aug 13 16:04:07 CDT 2006
I had bad memory leak problems using mongrel, apache, radiant and
mongrel. I tracked it for more than a week and could reproduce it.
Switching to postgres solved the memory leak completely. I'm not sure
what the problem was but I would suggest staying away from the sqlite3
bindings as for whatever reason radiant's caching causes memory leaks
with it.
josh @ besquared
Thijs van der Vossen wrote:
> On 13 Aug 2006, at 01:20 , Cory D wrote:
>> I'm confused about such areas as why you would setup and use the
>> production database on your local instance of radiant
>> (doesn't this defeat the purpose of three database levels?) and why
>> the database.yml instructions for mysql explain to use socket:
>> instead of host: (ie. how could you test pointing to your production
>> database on a local radiant instance with socket ?)
>
> If you're not planning to do any development on the Radiant itself but
> just want to use it to build a site then I'd suggest you take the easy
> way out and just put the same configuration under the 'development'
> and 'production' section.
>
> You might also want to consider running Radiant on SQLite instead of
> MySQL. It's not only far easier to configure, but because a SQLite
> database is stored as a regular file inside the db/ directory, it's
> also easy to move your all content from your local instance to your
> webserver (if your hosting company has SQLite installed, that is).
>
> So, step by step:
>
> 1. Get SQLite running on your system, see
> http://wiki.rubyonrails.org/rails/pages/HowtoUseSQLite
> 2. Use the following for config/database.yml
>
> development:
> adapter: sqlite3
> database: db/production.db
> test:
> adapter: sqlite3
> database: db/test.db
> production:
> adapter: sqlite3
> database: db/production.db
>
> 3. Create the database structure with $ ./script/setup_database
> 4. Start the server with $ ./script/server
>
> Kind regards,
> Thijs
>
> --
> Fingertips - http://www.fngtps.com
>
> Phone: +31 (0)6 24204845
> Skype: tvandervossen
>
> MSN Messenger: thijs at fngtps.com
> iChat/AOL: t.vandervossen at mac.com
> Jabber IM: thijs at jabber.org
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Radiant mailing list
> Radiant at lists.radiantcms.org
> http://lists.radiantcms.org/mailman/listinfo/radiant
>
More information about the Radiant
mailing list