You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by lh...@apache.org on 2015/04/12 04:22:33 UTC

svn commit: r1672969 - /shiro/site/trunk/README.md

Author: lhazlewood
Date: Sun Apr 12 02:22:33 2015
New Revision: 1672969

URL: http://svn.apache.org/r1672969
Log:
SHIRO-507: added a README.md file explaining how to publish site content

Added:
    shiro/site/trunk/README.md

Added: shiro/site/trunk/README.md
URL: http://svn.apache.org/viewvc/shiro/site/trunk/README.md?rev=1672969&view=auto
==============================================================================
--- shiro/site/trunk/README.md (added)
+++ shiro/site/trunk/README.md Sun Apr 12 02:22:33 2015
@@ -0,0 +1,23 @@
+# Apache Shiro Website Overview
+
+The Apache Shiro website is a static content website accessible at http://shiro.apache.org
+
+Site content is authored as Markdown and HTML files.  These files are scanned by a tool that applies a page template to each file's contents as necessary, and the rendered static .html files are output to a `publish` directory.
+
+Publishing site changes is as simple as committing any changes in the `publish` directory to version control.  ASF infrastructure will see the commit and automatically push the changes to the ASF's production webservers.
+
+## Generating and Publishing
+
+The tool used to generate the static content is [SCMS](https://github.com/lhazlewood/scms).  Once scms is installed and in your `$PATH`, generating and publishing the site on the command line is easy.
+ 
+The following example assumes you have SVN commit permissions to the `publish` directory, typically because your are an Apache Shiro project committer:
+    
+    cd site
+    # This next command will take a few seconds, be patient :)
+    scms ../publish
+    # Open up the local publish/index.html file in your web browser.  Ensure the changes reflect what you want. 
+    #
+    # This next commands will publish changes to live ASF web servers.  Be confident the changes are what you want:
+    svn add .
+    svn commit -m "my change description"
+