From 01962bd3d45288bd85fc0465df5ac1302f1a2623 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Thu, 12 Aug 2010 09:10:35 +0100 Subject: [PATCH] Doc: CG: improve website build instructions. --- Documentation/contributor/website-work.itexi | 49 +++++++++++--------- 1 file changed, 26 insertions(+), 23 deletions(-) diff --git a/Documentation/contributor/website-work.itexi b/Documentation/contributor/website-work.itexi index 427feac96d..fc10f0e6f1 100644 --- a/Documentation/contributor/website-work.itexi +++ b/Documentation/contributor/website-work.itexi @@ -77,6 +77,32 @@ chgrp lilypond ~graham/lilypond/ -R chmod 775 ~graham/lilypond/ -R @end example +To reduce the CPU burden on the shared host (as well as some +security concerns), the @file{Documentation/@/pictures/} and +@file{Documentation/@/web/@/ly-examples/} directories are +@strong{not} compiled. You need to upload them, and if they ever +change, a user in the @code{lilypond} group must upload them to +@file{~graham/@/media} on the host. + +Upload latest pictures/ and ly-examples/ (local script): + +@warning{You may need to change a number of items in the below +script.} + +@verbatim +### upload-lily-web-media.sh +#!/bin/sh +BUILD_DIR=$HOME/src/build-lilypond + +PICS=$BUILD_DIR/Documentation/pictures/out-www/ +EXAMPLES=$BUILD_DIR/Documentation/web/ly-examples/out-www/ + +cd $BUILD_DIR +rsync -a $PICS graham@lilypond.org:media/pictures +rsync -a $EXAMPLES graham@lilypond.org:ly-examples +@end verbatim + + @subheading Normal maintenance @@ -152,29 +178,6 @@ Cronjob to automate the trusted portions: @end verbatim -To reduce the CPU burden on the shared host (as well as some -security concerns), the @file{Documentation/@/pictures/} and -@file{Documentation/@/web/@/ly-examples/} directories are @strong{not} -compiled. If you modify any files in those directories, a user in -the @code{lilypond} group must upload them to @file{~graham/@/media} -on the host. - -Upload latest pictures/ and ly-examples/ (local script): - -@verbatim -### upload-lily-web-media.sh -#!/bin/sh -BUILD_DIR=$HOME/src/build-lilypond - -PICS=$BUILD_DIR/Documentation/pictures/out-www/ -EXAMPLES=$BUILD_DIR/Documentation/web/ly-examples/out-www/ - -cd $BUILD_DIR -rsync -a $PICS graham@lilypond.org:media/pictures -rsync -a $EXAMPLES graham@lilypond.org:ly-examples -@end verbatim - - @subsubheading Additional information Some information about the website is stored in -- 2.39.5