Re: [Radiant] Deployment tips

2008-09-29 Thread Jamey Cribbs
If you are using mysql, I have written a custom extension that does a
lot of what you want.  It would need to be tailored a little for your
environment, but I could email you a copy of it if you are interested.

Jamey Cribbs


On Mon, Sep 29, 2008 at 5:41 PM, Errol Siegel [EMAIL PROTECTED] wrote:
 I have built a radiant-based site and will soon be ready to deploy it.

 I'm looking for advice on best practices.  I was not able to find much
 about this in the documentation.

 Most of the issue is the database.  I want to be able update content in
 a copy of the site running on my development machine.  Then, when I'm
 satisfied everything looks right, dump the database and import it into
 the production database running on the server.

 Some content is stored in files.  For example, the Page Attachments
 extension stores uploaded images in files (at least by default).  I need
 to be able to update these files remotely.

 Are there existing rake tasks for this sort of thing?

 Thanks,
 Errol
 --
 Posted via http://www.ruby-forum.com/.
 ___
 Radiant mailing list
 Post:   Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Re: Deployment tips

2008-09-29 Thread Errol Siegel
Jamey,

Yes -- I'd love to see it.

Thanks,
Errol
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Deployment tips

2008-09-29 Thread Mohit Sindhwani

Jamey Cribbs wrote:

If you are using mysql, I have written a custom extension that does a
lot of what you want.  It would need to be tailored a little for your
environment, but I could email you a copy of it if you are interested.
  


Of course, Jamey added a bit about this extension to Summer Reboot:
http://wiki.radiantcms.org/Migrating_from_SQLite_to_MySQL

Based on this experience, I hope that you can add a bit to Summer Reboot 
about deployment issues.

Cheers,
Mohit.
9/30/2008 | 9:36 AM.

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Deployment tips

2008-09-29 Thread Jamey Cribbs
Nope.  That wasn't me.

Jamey


On Mon, Sep 29, 2008 at 9:37 PM, Mohit Sindhwani [EMAIL PROTECTED] wrote:
 Jamey Cribbs wrote:

 If you are using mysql, I have written a custom extension that does a
 lot of what you want.  It would need to be tailored a little for your
 environment, but I could email you a copy of it if you are interested.


 Of course, Jamey added a bit about this extension to Summer Reboot:
 http://wiki.radiantcms.org/Migrating_from_SQLite_to_MySQL

 Based on this experience, I hope that you can add a bit to Summer Reboot
 about deployment issues.
 Cheers,
 Mohit.
 9/30/2008 | 9:36 AM.

 ___
 Radiant mailing list
 Post:   Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Deployment tips

2008-09-29 Thread Mohit Sindhwani

Ooops!!  That's what I get for answering e-mails just after waking up!
That was actually Christopher Dwan; sorry guys!

Errol, you can take a look at the link below to see if that extension 
helps you any.


Cheers
Mohit.


Jamey Cribbs wrote:

Nope.  That wasn't me.

Jamey


On Mon, Sep 29, 2008 at 9:37 PM, Mohit Sindhwani [EMAIL PROTECTED] wrote:
  

Jamey Cribbs wrote:


If you are using mysql, I have written a custom extension that does a
lot of what you want.  It would need to be tailored a little for your
environment, but I could email you a copy of it if you are interested.

  

Of course, Jamey added a bit about this extension to Summer Reboot:
http://wiki.radiantcms.org/Migrating_from_SQLite_to_MySQL

Based on this experience, I hope that you can add a bit to Summer Reboot
about deployment issues.
Cheers,
Mohit.
9/30/2008 | 9:36 AM.

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant




  


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Re: Deployment tips

2008-09-29 Thread Errol Siegel
Mohit: Thanks for the link.  I'll take a look at that.  Once I get this 
site 'live' I'll be happy to document the experience.

Jamey: I'm still interested in seeing what you have done as well.
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Can page_attachments store uploads in database?

2008-09-29 Thread Errol Siegel
I know attachment_fu supports this, but I'm not sure if that means
page_attachments can work with it.

I wanted to see if anybody knows the answer to this before I spend the
time on trial-and-error.

Thanks,
Errol
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Can page_attachments store uploads in database?

2008-09-29 Thread john
In short, any backend that attachment_fu supports works with  
page_attachments. The amount of poking around in page_attachments to  
get it working will vary.


On 2008/09/29, at 22:37, Errol Siegel wrote:


I know attachment_fu supports this, but I'm not sure if that means
page_attachments can work with it.

I wanted to see if anybody knows the answer to this before I spend the
time on trial-and-error.

Thanks,
Errol
--
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Re: Can page_attachments store uploads in database?

2008-09-29 Thread Errol Siegel
Nate: Thanks for the response.  I agree that what you are saying is 
true.  I am trying to balance performance against maintainability of the 
site.  Perhaps you have a better suggestion for what I want to 
accomplish.  I want to be able to run multiple version of the site (one 
for development and one for production).  I understand that radiant has 
dev and prod 'modes' but this is not really quite what I want.  For 
example I want to be able to edit a page (and its attachments) for 
somebody to review without modifying the existing production version of 
that page.  I figured that if everything were stored in the database it 
would make things easier.  I would just need to dump the dev database 
and import it into the prod database when I want to go live with 
changes.  Thanks in advance for any suggesions you might have.

John: Thanks -- perhaps I will try this if nobody has a better idea for 
managing content (based on what I wrote just above).

-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Re: Can page_attachments store uploads in database?

2008-09-29 Thread Nathan Sutton
Write a capistrano task to clone from staging to production.  In the  
task clone both the database and static assets.  It's not much harder  
than cloning the db.  Tar up the assets, copy them to the new  
location, then untar them.  Remove old assets if necessary.


Nate

On Sep 29, 2008, at 11:53 PM, Errol Siegel wrote:


Nate: Thanks for the response.  I agree that what you are saying is
true.  I am trying to balance performance against maintainability of  
the

site.  Perhaps you have a better suggestion for what I want to
accomplish.  I want to be able to run multiple version of the site  
(one
for development and one for production).  I understand that radiant  
has

dev and prod 'modes' but this is not really quite what I want.  For
example I want to be able to edit a page (and its attachments) for
somebody to review without modifying the existing production version  
of
that page.  I figured that if everything were stored in the database  
it

would make things easier.  I would just need to dump the dev database
and import it into the prod database when I want to go live with
changes.  Thanks in advance for any suggesions you might have.

John: Thanks -- perhaps I will try this if nobody has a better idea  
for

managing content (based on what I wrote just above).

--
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant