added an upload task and some readme info

git-svn-id: https://svn.apache.org/repos/asf/activemq/stomp/trunk@796248 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webgen/README b/webgen/README
index 331d532..268becf 100644
--- a/webgen/README
+++ b/webgen/README
@@ -7,4 +7,25 @@
 
   For configuration purposes, use the config.yaml file.
 ---
-note: This file can be deleted!
+Generating the site:
+
+    webgen
+    open out/index.html
+
+Auto mode:
+
+    rake auto
+    
+will run webgen in auto mode where it will auto-detect changes in the source files and 
+regenerate the site automatically for you.
+
+
+Cleaning up:
+
+    rake clobber
+
+Uploading the site:
+
+    rake upload
+	
+Note: you should be sure that you have SSH_USER environment variable set.
diff --git a/webgen/Rakefile b/webgen/Rakefile
index 6c9d01d..845ad49 100644
--- a/webgen/Rakefile
+++ b/webgen/Rakefile
@@ -40,3 +40,8 @@
     sleep 2
   end
 end
+
+desc "Deploy the site"
+task :upload do
+  sh %{webgen; scp -r out/* #{ENV['SSH_USER']}@people.apache.org:/www/activemq.apache.org/stomp}
+end