You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by de...@apache.org on 2009/07/21 12:54:38 UTC

svn commit: r796248 - in /activemq/stomp/trunk/webgen: README Rakefile

Author: dejanb
Date: Tue Jul 21 10:54:37 2009
New Revision: 796248

URL: http://svn.apache.org/viewvc?rev=796248&view=rev
Log:
added an upload task and some readme info

Modified:
    activemq/stomp/trunk/webgen/README
    activemq/stomp/trunk/webgen/Rakefile

Modified: activemq/stomp/trunk/webgen/README
URL: http://svn.apache.org/viewvc/activemq/stomp/trunk/webgen/README?rev=796248&r1=796247&r2=796248&view=diff
==============================================================================
--- activemq/stomp/trunk/webgen/README (original)
+++ activemq/stomp/trunk/webgen/README Tue Jul 21 10:54:37 2009
@@ -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.

Modified: activemq/stomp/trunk/webgen/Rakefile
URL: http://svn.apache.org/viewvc/activemq/stomp/trunk/webgen/Rakefile?rev=796248&r1=796247&r2=796248&view=diff
==============================================================================
--- activemq/stomp/trunk/webgen/Rakefile (original)
+++ activemq/stomp/trunk/webgen/Rakefile Tue Jul 21 10:54:37 2009
@@ -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