]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/contributor/website-work.itexi
Socket framework: output all systems.
[lilypond.git] / Documentation / contributor / website-work.itexi
index 30958a23f338b774a1ed2366acc2631215ac5364..4f9856dd13d11491b7137993559b64028d1167bb 100644 (file)
@@ -5,6 +5,7 @@
 @menu
 * Introduction to website work::
 * Uploading and security::
+* Debugging website and docs locally::
 * Translating the website::
 @end menu
 
@@ -88,7 +89,7 @@ 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.
+@file{~graham/@/lilypond@/media} on the host.
 
 Upload latest pictures/ and ly-examples/ (local script):
 
@@ -104,8 +105,8 @@ 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
+rsync -a $PICS graham@lilypond.org:lilypond/media/pictures
+rsync -a $EXAMPLES graham@lilypond.org:lilypond/media/ly-examples
 @end verbatim
 
 
@@ -193,6 +194,40 @@ Some information about the website is stored in
 shared with people without trusted access to the server.
 
 
+@node Debugging website and docs locally
+@section Debugging website and docs locally
+
+@itemize
+@item
+Install apache2, or any other http server.  These instructions
+assume that you also enable @code{mod_userdir}, and use
+@code{$HOME/public_html} as the location.
+
+@item
+Build the online docs and website:
+
+@example
+make WEB_TARGETS="offline online" doc
+make website
+@end example
+
+
+@item
+Move the built stuff into those directories.  It's highly
+recommended to have your build dir and www dir on the same
+partition.  (make @code{$HOME/public_html/} a symlink if
+necessary)
+
+@example
+mv out-website/website/ $HOME/public_html
+mv $HOME/public_html/website/pictures $HOME/public_html/
+mkdir -p $HOME/public_html/doc/v2.13/
+mv out-www/online-root/* $HOME/public_html/doc/v2.13/
+@end example
+
+@end itemize
+
+
 @node Translating the website
 @section Translating the website