--- /dev/null
+Creating a Custom Dojo Build
+============================
+:toc:
+:numbered:
+
+Optimize JavaScript and CSS with Dojo Build
+-------------------------------------------
+
+Using the Dojo build tools creates optimised static content resulting in
+fewer HTTP requests and smaller content sizes.
+
+[source, bash]
+------------------------------------------------------------------------------
+wget http://download.dojotoolkit.org/release-1.3.3/dojo-release-1.3.3-src.tar.gz
+tar -zxf dojo-release-1.3.3-src.tar.gz
+cd dojo-release-1.3.3-src/util/buildscripts
+cp ./Open-ILS/examples/openils.profile.js ./profiles
+./build.sh profile=openils action=release version=1.3.3 cssOptimize=comments mini=true stripConsole=all
+------------------------------------------------------------------------------
+
+Now copy the contents of the ../../releases/dojo/ directory into your webroot.
+
+[source, bash]
+------------------------------------------------------------------------------
+rsync -av ../../releases/dojo/ /openils/var/web/js/dojo/
+------------------------------------------------------------------------------
+
+See also: http://evergreen-ils.org/dokuwiki/doku.php?id=scratchpad:random_magic_spells#custom_dojo_build
\ No newline at end of file