Differences between revisions 3 and 4
Revision 3 as of 2007-07-15 11:44:27
Size: 1346
Editor: dialup-4
Comment: Renaming Lenya 1.4 to 2.0
Revision 4 as of 2009-09-20 23:27:49
Size: 1346
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

Outsourcing the Content of your Publication

NOTE: This documentation applies for Lenya 2.0 NOTE: This feature is still under development.

Lenya 2.0 lets you separate your dynamic/content files from the publication. This way, deployment is much easier. You should consider to outsource the following files:

  • content, normally under mypub/content
  • resources (assets, like pdf and gif), normally under ressources/authoring and ressources/live
  • access rights, normally under config/ac

== outsource content / ressources ==

In mypub/conf/publication.xconf,

  • edit <content-dir>, see the comments in the file. You should use something like /data/mypub.

  • move all the files from mypub/content into the directory that you specified above (/data/mypub/content).
  • move all the files from mypub/resources into the directory that you specified above (/data/mypub/resources).

(see

  • src/java/org/apache/lenya/cms/repository/SourceNode.java
  • src/java/org/apache/lenya/cms/publication/Resource.java

for more background info).

outsource ac

In mypub/config/ac/ac.xconf

  • edit <parameter> values, , see the comments in the file (TODO).

  • move all other files from mypub/config/ac to the directories that you specified above, e.g /home/user/data/mypub/content/ac

== A typical setup ==

TODO

HowToOutsourcePublicationContent (last edited 2009-09-20 23:27:49 by localhost)