@Ruben:
I have to correct something:
My start command for Radiant is:
'sudo mongrel_rails start -e production'.
So I believe i use Radiant in 'production mode'
(unlike 'development mode'), yet i developing
the website (my meaning of 'during
development'). That's not the preferred
way of working
Hi Andreas,
I'm at a loss here, cause 1) am not sure why you're losing your files
inside RAILS_ROOT/public and 2)am not too familiar with the
ideocincracies of Mongrel. I run all my apps with Apache/FCGI and
works pretty good--and it has never erased any of my files.
It's a scary thought that a
Hi Ruben,
same behavior with Webrick:
My startup command (location: 'Radiant-root'):
'sudo ruby script/server webrick -e production'.
The only files still in 'Radiant-root/public'
(after 'Clear page cache') are 'index.yml' and
'.htaccess'.
Wanna try for yourself (i have no Apache-FCGI setup) ;-\
@Ruben:
Not good.
I've created a new Radiant site 'test_site' and a mysql database
'test_site'. Then i filled the development tables with
'script/setup_database development'. I use the option 3, full
featured blog. Starting: 'mongrel_rails start -e development'.
I use the browser to see the new
I agree with Sean. I have used both development and production modes
liberally and hitherto it has worked flawlessly and have not lost ANY
files and have not lost ANY DB records. I'm fairly sure it is not a
Radiant issue (at least not as direct consequence).
On 12/31/06, Sean Cribbs [EMAIL
@Sean,
line 44 of 'config/environment.rb' *in*:
---
puts ActionController::Base.page_cache_directory
script/../config/../config/../cache
= nil
---
line 44 of 'config/environment.rb' *out*:
---
puts ActionController::Base.page_cache_directory
script/../config/../config/../public
= nil
---
Okay, 'Agile Web Development with Rails' (First Edition), page 335
says:
Page cache files are by default stored in the public directory of
your application.
Perhaps it would be nice to include a warning in 'config/environment.rb'
NOT to comment out line 44 ... to avoid such mail threads ;-)
(Or
On 12/30/06, Andreas Semt [EMAIL PROTECTED] wrote:
After deactivation of the caching mechanism i clicked the
'Clear page cache' button ... oh my!
Only the files '.htaccess' and 'index.yml' are still in
the 'public' directory under the radiant root dir. *All*
other files - inclusive the 'images'
Mislav Marohnić schrieb:
Gee, I hope not! :-/
If so, then i am happy that i encountered that
behavior during development ;-)
Best regards,
Andreas Semt
Mislav Marohnić schrieb:
On 12/30/06, Andreas Semt [EMAIL PROTECTED] wrote:
After deactivation of the caching mechanism i clicked
errr...being in development mode should do nothing to your file
system. That is really, really, really weird.
PS.: You all Radiantists have a happy and safe new year.
On 12/30/06, Andreas Semt [EMAIL PROTECTED] wrote:
Thanks!
it works ...
BUT:
After deactivation of the caching mechanism i
Hello list!
Is it possible to disable the page caching mechanism
during development of a Radiant web site?
Thanks in advance!
Best regards,
Andreas Semt
___
Radiant mailing list
Post: Radiant@lists.radiantcms.org
Search:
Andreas,
I believe if you comment line 8 of environment.rb and restart your web
server it will, be default, not cache pages.
On 12/29/06, Andreas Semt [EMAIL PROTECTED] wrote:
Hello list!
Is it possible to disable the page caching mechanism
during development of a Radiant web site?
12 matches
Mail list logo