]> sipb.mit.edu Git - wiki.git/blobdiff - projects/www.mdwn
instructions for generating local previews from a git repo
[wiki.git] / projects / www.mdwn
index e494524f86964473d7d9d79c39bc3f37ad8531dc..316f1f8bd32b8e1e9618f41be76682b2d810e22e 100644 (file)
@@ -50,6 +50,16 @@ To work on the code surrounding the wiki in addition to the wikitext, clone the
     $ cd sipb-www
     $ git submodule update --init
 
+You can also clone directly from the filesystem if you have AFS permission. If you want a preview of your pages to be generated locally, you can use the generate-previews.sh script in the superrepo:
+
+    $ git clone /mit/sipb-www/git/sipb-www
+    $ cd sipb-www
+    $ git submodule update --init
+    $ # make changes here
+    $ mkdir /tmp/sipb-out
+    $ ./generate-previews.sh /tmp/sipb-out
+    $ firefox /tmp/sipb-out/index.html
+
 
 ####Detailed Locker Layout