JAL-957 instructions on runnning Jbake to regenerate JalviewLite example pages
authorJim Procter <jprocter@compbio.dundee.ac.uk>
Tue, 28 Jan 2014 11:24:26 +0000 (11:24 +0000)
committerJim Procter <jprocter@compbio.dundee.ac.uk>
Tue, 28 Jan 2014 11:24:40 +0000 (11:24 +0000)
examples-jbake/README [new file with mode: 0644]

diff --git a/examples-jbake/README b/examples-jbake/README
new file mode 100644 (file)
index 0000000..f9fcde1
--- /dev/null
@@ -0,0 +1,25 @@
+#examples-jbake
+#==============
+
+#This directory contains a jbake project that regenerates the JalviewLite example pages
+#shown at http://www.jalview.org/examples/applets.html
+
+#Instructions for building the examples directory from the jbake project:
+
+#Download jbake and add it to your path:
+#http://hash.to/2R
+#(unzip the download and add the extracted directory to your path)
+
+cd examples-jbake
+
+# this generates the example pages in the 'output' directory
+jbake
+
+# jbake -s will test the output. Copy build artefacts (jalviewLite/JmolApplet jars) into the assets directory to create a real test
+
+# remove the pages jbake autogenerates
+rm output/archive.html output/index.html output/feed.xml
+
+# and copy all the rest to examples
+cp output/*.html ../examples/
+cp -R output/css output/images ../examples/