Back in December 2007 I wrote a quickie extension for someone to have
two separate sites, one being preview and one being live. In the end,
we decided it would be easiest to copy a SQLite3 database file from the
preview site to the live site (luckily on the same box). No version
control, but it was an easy way to keep them separated.
BTW, you could achieve what you mention also with the import/export
extension (which I added a few fixes to the other day). It would not be
easily readable (it's all YAML), but it can maintain all the original
data, including data that isn't expressly written in the file_system ext.
Sean
Joe Van Dyk wrote:
I just had a crazy idea.
I'm looking for a way for users to have a "draft" version of the site.
When it's ready, they click a button and the pages/snippets/layouts
that are published get transferred over to the new site.
What if:
When they click "Publish Site":
* test site does a "rake file_system:save" to save the test db stuff
to the file system
* files are checked into git
* production site does a checkout
* production site does a "rake file_system:load" to load the files into the db
And Tada. You have a simple, version controlled site where people can
preview their work.
Joe
On Mon, Aug 25, 2008 at 1:40 AM, Andrew Neil
<[EMAIL PROTECTED]> wrote:
The file_system extension exists for this purpose. Check it out:
http://github.com/nelstrom/radiant-file-system-extension/tree/master
I should warn you that it is still under development, so if you do use it,
take care! I would appreciate feedback on any problems you encounter.
Drew
On 25 Aug 2008, at 05:20, Arik Jones wrote:
Will we ever see the light of day for this feature. I personally despise
editing code/indent-heavy layouts/snippets in Radiant. What are the
limitations that prevent this feature from being implemented?
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant