usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject [42/50] [abbrv] usergrid git commit: Add DRAFT Usergrid 2.1.0 deployment guide and upgrade website to use Nanoc 4.
Date Thu, 04 Feb 2016 17:58:06 GMT
http://git-wip-us.apache.org/repos/asf/usergrid/blob/3fbb7d47/docs/installation/deployment-guide.md
----------------------------------------------------------------------
diff --git a/docs/installation/deployment-guide.md b/docs/installation/deployment-guide.md
new file mode 100644
index 0000000..86a7506
--- /dev/null
+++ b/docs/installation/deployment-guide.md
@@ -0,0 +1,451 @@
+# Usergrid 2.1.0 Deployment Guide
+
+## DRAFT 
+
+This document explains how to deploy the Usergrid Backend-as-a-Service (BaaS), 
+which comprises the Usergrid Stack, a Java web application, and the Usergrid Portal,
+which is an HTML5/JavaScript application. 
+
+
+## Intended audience
+
+You should be able to follow this guide if you are a developer, system admin or 
+operations person with some knowledge of Java application deployment and good 
+knowledge of Linux and the bash shell.
+
+This guide is a starting point and does NOT explain everything you need to know to 
+run Usergrid at-scale and in production. To do that you will need some additional 
+skills and knowledge around running, monitoring and trouble-shooting Tomcat 
+applications, multi-node Cassandra & ElasticSearch clusters and more.
+
+
+## Prerequsites
+
+Below are the software requirements for Usergrid 2.1.0 Stack and Portal. 
+You can install them all on one computer for development purposes, and for 
+deployment you can deploy them separately using clustering.
+
+   * Linux or a UNIX-like system (Usergrid may run on Windows, but we haven't tried it)
+   
+   * [Java SE 8 JDK](http://www.oracle.com/technetwork/java/javase/downloads/index.html)
+   
+   * [Apache Tomcat 7+](https://tomcat.apache.org/download-70.cgi)
+   
+   * [Apache Cassandra 1.2.1+](http://cassandra.apache.org/download/)
+   
+   * [ElasticSearch 1.4+](https://www.elastic.co/downloads/elasticsearch)  
+   
+Optional but helpful:
+
+   * An HTTP or REST client, such as [curl](http://curl.haxx.se)
+   * A web server such as [Apache HTTPD](https://httpd.apache.org) for running the Usergrid
Portal
+      
+   
+## Getting Started
+
+Deploying Usergrid starts with downloaded the Apache Usergrid release. There are three ways
to go:
+
+1. Clone the Usergrid Git repo, get the `usergrid-2.1.0` tag (not available yet) and build
Usergrid yourself.
+2. Download the official Apache Usergrid 2.1.0 source-code release (not available yet) and
build Usergrid
+3. Download the Apache Usergrid 2.1.0 binary release (not available).
+
+The easist way to go is option #3 and so that's what we will do in this document. 
+
+__Get started by downloading the Apache Usergrid 2.1.0__ binary release from the Usergrid
releases page:
+
+* [Apache Usergrid Releases](https://usergrid.apache.org/releases)
+
+When you un-tar the Usergrid binary release, you will see a directory layout like this:
+
+    +-- apache-usergrid-2.1.0
+        |
+        +-- LICENSE
+        |
+        +-- NOTICE
+        |
+        +-- CHANGELOG
+        |
+        +-- stack
+        |   | 
+        |   + ROOT.war
+        |
+        +-- portal
+        |   |
+        |   +-- dist
+        |       |
+        |       + usergrid-portal.tar    
+        |
+        +-- sdks
+        |   |
+        |   +-- html5-javascript (JavaScript SDK and source)
+        |   | 
+        |   +-- java (Java SDK and source)
+        
+The files that you need for deploying Usergrid Stack and Portal are `ROOT.war` and `usergrid-portal.tar`.
+                    
+
+## Deploying the Usergrid Stack
+
+The Usergrid Stack is a Java EE web application that runs on Tomcat, 
+uses the Cassandra database for storage and the ElasticSearch search-engine for queries.
+ 
+Before installing the Usegrid Stack into Tomcat, you'll start by setting up the 
+required database and search engine nodes. 
+ 
+   
+### Stack STEP #1: Setup Cassandra 
+
+Usergrid needs access to at least one Apache Cassandra node. You can setup a single node
of
+Cassandra on your computer for development and testing. For production deployment, 
+a three or more node cluster is recommended.
+
+__Use the right Java.__ Cassandra requires Java and we recommend that you use the same version
of Java 
+for Cassandra as you use to run Tomcat and ElasticSearch.
+
+__Refer to the [Apache Cassandra documentation](http://wiki.apache.org/cassandra/GettingStarted)

+for instructions on how to install Cassandra__. The [Datastax documentation for Cassandra
1.2](http://docs.datastax.com/en/cassandra/1.2/cassandra/features/featuresTOC.html) is also
helpful. 
+Once you are up and running make a note of these things:
+
+   * The name of the Cassandra cluster
+   * Hostname or IP address of each Cassandra node
+   * Port number used for Cassandra RPC (the default is 9160)
+   * Replication factor of Cassandra cluster
+   
+
+### Stack STEP #2: Setup ElasticSearch
+
+Usergrid also needs access to at least one ElasticSearch node. As with Cassandra, 
+you can setup single ElasticSearch node on your computer, and you should run 
+a cluster in production.
+
+__Use the right Java__. ElasticSearch requires Java and you *must* ensure that you use the

+same version of Java for ElasticSearch as you do for running Tomcat.
+
+__Refer to the 
+[ElasticSearch 1.4 documentation](https://www.elastic.co/guide/en/elasticsearch/reference/1.4/index.html)

+for instructions on how to install__. Once you are up and running make a note of these things:
+
+   * The name of the ElasticSearch cluster
+   * Hostname or IP address of each ElasticSearch node
+   * Port number used for ElasticSearch protocol (the default is 9200)
+
+__Running a single-node?__ If you are running a single-node ElasticSearch cluster then 
+you should set the number of replicas to zero, otherwise the cluster will report status YELLOW.

+  
+    curl -XPUT 'localhost:9200/_settings' -d '{"index" : { "number_of_replicas" : 0}}'
+    
+
+### Stack STEP #3: Setup Tomcat
+
+The Usergrid Stack is contained in a file named ROOT.war, a standard Java EE WAR
+ready for deployment to Tomcat. On each machine that will run the Usergrid Stack 
+you must install the Java SE 8 JDK and Tomcat 7+. 
+
+__Refer to the [Apache Tomcat 7](https://tomcat.apache.org/tomcat-7.0-doc/setup.html) documentation
for  instructions on how to install__. Once Tomcat installed, you need to create and edit
some configuration files.
+
+
+### Stack STEP #4: Configure Usergrid Stack & Logging
+
+You must create a Usergrid properties file called `usergrid-deployment.properties`. 
+The properties in this file tell Usergrid how to communicate with Cassandra and
+ElasticSearch, and how to form URLs using the hostname you wish to use for Usegrid.
+There are many properties that you can set to configure Usergrid. 
+
+Once you have created your Usergrid properties file, place it in the Tomcat lib directory.
+On a Linux system, that directory is probably located at `/usr/share/tomcat7/lib`.
+
+__What goes in a properties file?__
+
+The default properties file that is built into Usergrid contains the full list of properties,
defaults and some documentation:
+   
+   * [The Default Usergrid Properties File](https://github.com/apache/usergrid/blob/master/stack/config/src/main/resources/usergrid-default.properties)
+
+You should review the defaults in the above file. To get you started, let's look at a minimal
example properties file that you can edit and use as your own.
+
+
+#### Example Usergrid Stack Properties File
+
+Below is an minimal example Usergrid properties file with the parts you need to change indicated
like 
+shell variables, e.g. `${USERGRID_CLUSTER_NAME}`. Here's a guide to the things you need to
set:
+
+__Table 1: Values to set in Example Properties file:__
+
+| Value       | Description |
+|-------------|-------------|
+| __BASEURL__ | This is the base URL for the Usergrid installation, e.g. `https://api.example.com`.
|
+| __USERGRID_CLUSTER_NAME__ | This is your name for your Usergrid installation. |
+| __CASSANDRA_CLUSTER_NAME__ | Name of Cassandra cluster, must match what's in Cassandra
configuration. |
+| __CASSANDRA_HOSTS__ | Comma-separated lists of Cassandra hosts, with port numbers if you
are not using the default 9120. The default for this property is `localhost:9120` |
+| __ELASTICSEARCH_CLUSTER_NAME__ | Name of ElasticSearch cluster, must match what's in ElasticSearch
configuration. |
+| __ELASTICSEARCH_HOSTS__ | Comma-separated lists of ElasticSearch hosts, with port numbers
if you are not using the default 9300. The default for this property is `localhost:9300` |
+| __SUPER_USER_EMAIL__ | Email address of person responsible for the superuser account. |
+| __SUPER_USER_PASSWORD__ | Password for the superuser account. |
+| __TEST_ADMIN_USER_EMAIL__ | If `usergrid.setup-test-account=true`, as shown below, Usergrid
will create a test account and you should specify a valid email here. |
+| __TEST_ADMIN_USER_PASSWORD__ | Password for the username 'test' account. |
+   
+   
+Make sure you set all of the above properties when you edit this example for your installation.
  
+   
+Example 1: usergrid-deployment.properties file
+
+    usergrid.cluster_name=${USERGRID_CLUSTER_NAME}
+
+    cassandra.url=${CASSANDRA_HOSTS}
+    cassanrda.cluster=${CASSANDRA_CLUSTER_NAME}
+
+    elasticsearch.cluster_name=${ELASTICSEARCH_CLUSTER_NAME}
+    elasticsearch.hosts=${ELASTIC_SEARCH_HOSTS}
+
+    ######################################################
+    # Admin and test user setup
+
+    usergrid.sysadmin.login.allowed=true
+    usergrid.sysadmin.login.name=superuser
+    usergrid.sysadmin.login.password=${SUPER_USER_PASSWORD}
+    usergrid.sysadmin.login.email=${SUPER_USER_EMAIL}
+
+    usergrid.sysadmin.email=${SUPER_USER_EMAIL}
+    usergrid.sysadmin.approve.users=true
+    usergrid.sysadmin.approve.organizations=true
+
+    # Base mailer account - default for all outgoing messages
+    usergrid.management.mailer=Admin <${SUPER_USER_EMAIL}>
+
+    usergrid.setup-test-account=true
+    usergrid.test-account.app=test-app
+    usergrid.test-account.organization=test-organization
+    usergrid.test-account.admin-user.username=test
+    usergrid.test-account.admin-user.name=Test User
+    usergrid.test-account.admin-user.email=${TEST_ADMIN_USER_EMAIL}
+    usergrid.test-account.admin-user.password=${TEST_ADMIN_USER_PASSWORD}
+
+    ######################################################
+    # Auto-confirm and sign-up notifications settings
+
+    usergrid.management.admin_users_require_confirmation=false
+    usergrid.management.admin_users_require_activation=false
+
+    usergrid.management.organizations_require_activation=false
+    usergrid.management.notify_sysadmin_of_new_organizations=true
+    usergrid.management.notify_sysadmin_of_new_admin_users=true
+
+    ######################################################
+    # URLs
+
+    # Redirect path when request come in for TLD
+    usergrid.redirect_root=${BASEURL}/status
+
+    usergrid.view.management.organizations.organization.activate=${BASEURL}/accounts/welcome
+    usergrid.view.management.organizations.organization.confirm=${BASEURL}/accounts/welcome
+    
+    usergrid.view.management.users.user.activate=${BASEURL}/accounts/welcome
+    usergrid.view.management.users.user.confirm=${BASEURL}/accounts/welcome
+
+    usergrid.admin.confirmation.url=${BASEURL}/management/users/%s/confirm
+    usergrid.user.confirmation.url=${BASEURL}/%s/%s/users/%s/confirm
+    usergrid.organization.activation.url=${BASEURL}/management/organizations/%s/activate
+    usergrid.admin.activation.url=${BASEURL}/management/users/%s/activate
+    usergrid.user.activation.url=${BASEURL}%s/%s/users/%s/activate
+
+    usergrid.admin.resetpw.url=${BASEURL}/management/users/%s/resetpw
+    usergrid.user.resetpw.url=${BASEURL}/%s/%s/users/%s/resetpw
+    
+
+#### Configure Logging
+
+Usegrid includes the Apache Log4j logging system and you can control the levels of logs for
each
+Usergrid package and even down to the class level by providing your own __log4j.properties__
file.
+
+To configure logging you need to:
+
+1. Create a __log4j.properties__ file and place it on the computer where Tomcat is running
+2. Add __-D__ system property to Tomcat so that Tomcat can find your Log4j properties file.
+
+
+##### Example Logging Configuration
+
+The Log4j properties file below is a good starting point for Usergrid. It configures ERROR
level
+logging for the 3rd party libraries that Usergrid depends on, and INFO level logging for
Usergrid.
+Plus, it configures some noisy parts of Usergrid to be quiet.
+
+Example 2: log4.properties file
+
+    # output messages into a rolling log file as well as stdout
+    log4j.rootLogger=ERROR,stdout
+
+    # stdout
+    log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+    log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+    log4j.appender.stdout.layout.ConversionPattern=%d %p (%t) [%c] - %m%n
+
+    log4j.logger.org.apache.usergrid=INFO
+    
+    log4j.logger.me.prettyprint.cassandra.hector.TimingLogger=WARN
+    log4j.logger.org.apache.usergrid.rest.security.AllowAjaxFilter=WARN
+    log4j.logger.me.prettyprint.hector.api.beans.AbstractComposite=ERROR
+    
+    
+##### Add Logging Configuration to Tomcat
+
+You can configure Tomcat to use your Log4j properties file but adding a system property to
Tomcat
+named `log4j.configuration` which must be set to a `file:/` URL that points to your
+properties file. One way to add the above property to the Tomcat start-up is to add a line
to a 
+Tomcat `setenv.sh` script in Tomcat's bin directory. If that file does not exist, then create
it.
+
+For example, if your property file is in `/usr/share/tomcat7/lib/log4j.properties`, then
you 
+would add the following line to `setenv.sh`:
+
+    export JAVA_OPTS="-Dlog4j.configuration=file:///usr/share/tomcat7/lib/log4j.properties"
+    
+If the file already exists and already sets the JAVA_OPTS variable, then you'll have to 
+add your `-D` option to ones already there. Also note, you might want set other `-D` and
`-X` 
+options in that setenv file, e.g. Java heap size.
+
+
+### Stack STEP #5: Deploy ROOT.war to Tomcat
+
+The next step is to deploy the Usergrid Stack software to Tomcat. There are a variey of ways

+of doing this and the simplest is probably to place the Usergrid Stack `ROOT.war` file into
+the Tomcat `webapps` directory, then restart Tomcat.
+
+
+__For example, on Linux...__
+
+You would probabaly copy the ROOT.war file like so:
+
+    cp ROOT.war /usr/share/tomcat7/webapps
+    
+And you would restart Tomcat 7 like so:
+
+    /etc/init.d/tomcat7 restart
+    
+You can watch the Tomcat log in `/var/log/tomcat7/catalina.out` for errors:
+
+    tail -f /var/log/tomcat7/catalina.out
+    
+ Look for messages like this, which indicate that the ROOT.war file was deployed:
+ 
+    INFO: Starting service Catalina
+    Jan 29, 2016 1:00:32 PM org.apache.catalina.core.StandardEngine startInternal
+    INFO: Starting Servlet Engine: Apache Tomcat/7.0.59
+    Jan 29, 2016 1:00:32 PM org.apache.catalina.startup.HostConfig deployWAR
+    INFO: Deploying web application archive /usr/share/tomcat7/webapps/ROOT.war
+    
+    
+__Does it work?__
+
+Check to see if Usergrid is up and running by calling the status end-point. 
+If your web browser is running on the same computer as Tomcat (and Tomcat is on port 8080),

+then you can browse to [http://localhost:8080/status](http://localhost:8080/status) 
+to view the Usergrid status page. 
+
+Or you can use curl:
+
+    curl http://localhost:8080/status
+    
+If you get a JSON file of status data, then you're ready to move to the next step.
+You should see a response that begins like this:
+
+    {
+      "timestamp" : 1454090178953,
+        "duration" : 10,
+        "status" : {
+          "started" : 1453957327516,
+          "uptime" : 132851437,
+          "version" : "201601240200-595955dff9ee4a706de9d97b86c5f0636fe24b43",
+          "cassandraAvailable" : true,
+          "cassandraStatus" : "GREEN",
+          "managementAppIndexStatus" : "GREEN",
+          "queueDepth" : 0,
+          "org.apache.usergrid.count.AbstractBatcher" : {
+            "add_invocation" : {
+              "type" : "timer",
+              "unit" : "microseconds",
+              
+     ... etc. ...
+ 
+
+#### Initialize the Usergrid Database
+
+Next, you must initialize the Usergrid database, index and query systems.
+
+To do this you must issue a series of HTTP operations using the superuser credentials.
+You can only do this if Usergrid is configured to allow superused login via
+this property `usergrid.sysadmin.login.allowed=true` and if you used the 
+above example properties file, it is allowed.
+
+The three operation you must perform are expressed by the curl commands below and,
+of course, you will have ot change the password 'test' to match the superuser password 
+that you set in your Usergrid properties file.
+
+    curl -X PUT http://localhost:8080/system/database/setup     -u superuser:test
+    curl -X PUT http://localhost:8080/system/database/bootstrap -u superuser:test
+    curl -X GET http://localhost:8080/system/superuser/setup    -u superuser:test
+    
+When you issue each of those curl commands, you should see a success message like this:
+
+    {
+        "action" : "cassandra setup",
+        "status" : "ok",
+        "timestamp" : 1454100922067,
+        "duration" : 374
+    }    
+
+If you don't see a success message, then refer to the Tomcat logs for error message and
+seek help from the Usergrid community.
+
+Now that you've gotten Usergrid up and running, you're ready to deploy the Usergrid Portal.
+
+
+## Deploying the Usergrid Portal
+
+The Usergrid Portal is an HTML5/JavaScript application, a bunch of static files that 
+can be deployed to any web server, e.g. Apache HTTPD or Tomcat.
+
+To deploy the Portal to a web server, you will un-tar the `usergrid-portal.tar` file into

+directory that serves as the root directory of your web pages. 
+
+For example, with Tomcat on Linux you might do something like this:
+
+    cp usergrid-portal.tar /usr/share/tomcat7/webapps
+    cd /usr/share/tomcat7/webapps
+    tar xf usergrid-portal.tar
+    
+Then you will probably want to rename the Portal directory to something that will work
+well in a URL. For example, if you want your Portal to exist at the path `/portal` then:
+
+    mv usergrid-portal.2.0.18 portal
+    
+Once you have done that there is one more step. You need to configure the portal so that

+it can find the Usergrid stack. You do that by editing the `portal/config.js` and changing
+this line:
+
+    Usergrid.overrideUrl = 'http://localhost:8080/';
+
+To set the hostname that you will be using for your Usergrid installation. 
+
+Start your web server and Portal should be up and running!
+
+
+## Additional Resources
+
+Resources that might be useful to those deploying Usergrid:
+
+[Usergrid-Vagrant](https://github.com/snoopdave/usergrid-vagrant): A VagrantFile and set
of bash scripts that will launch a Linux Virtual Machine running Cassandra, ElasticSearch,
Tomcat and the Usergrid 2.1 Stack and Portal. 
+
+[Usergrid AWS Cluster](https://github.com/apache/usergrid/tree/master/deployment/aws): An
AWS Cloud Formation template and supporting scripts that create a set of multiple EC2 instances
running Usergrid Stack/Portal and a set of EC2 instances running Cassandra and ElasticSearch.
+
+
+## The End
+
+That's all folks.
+
+
+
+
+
+
+
+
+
+

http://git-wip-us.apache.org/repos/asf/usergrid/blob/3fbb7d47/website/README.md
----------------------------------------------------------------------
diff --git a/website/README.md b/website/README.md
index 23f0766..2271ee0 100644
--- a/website/README.md
+++ b/website/README.md
@@ -22,7 +22,7 @@ Install Pygments (Python-basd syntax coloring library):
 
 Install Nanoc and other Ruby Gems needed:
 
-    $ sudo gem install nanoc pygments.rb htmlentities pandoc-ruby nokogiri rack mime-types
+    $ sudo gem install nanoc pygments.rb htmlentities pandoc-ruby nokogiri rack mime-types
adsf
 
 ## How to change/update the website 
 
@@ -38,7 +38,7 @@ If you need to change the layout or styling of the site, then you will probably
 
 To test locally, you can use the autocompiler (will build changes on every request) and check
the website at [http://0.0.0.0:3000](http://0.0.0.0:3000)
 
-    $ nanoc autocompile
+    $ nanoc view
     
 ## 3. Publish your changes to the site    
 

http://git-wip-us.apache.org/repos/asf/usergrid/blob/3fbb7d47/website/crash.log
----------------------------------------------------------------------
diff --git a/website/crash.log b/website/crash.log
deleted file mode 100644
index fb3faea..0000000
--- a/website/crash.log
+++ /dev/null
@@ -1,143 +0,0 @@
-Crashlog created at 2015-09-25 15:15:43 -0400
-
-===== MESSAGE:
-
-RuntimeError: Found 3 content files for content/v101-portal-demo/bower_components/sizzle/dist/sizzle;
expected 0 or 1
-
-===== COMPILATION STACK:
-
-  (empty)
-
-===== STACK TRACE:
-
-  0. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/data_sources/filesystem.rb:170:in
`block in all_split_files_in'
-  1. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/data_sources/filesystem.rb:160:in
`each_pair'
-  2. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/data_sources/filesystem.rb:160:in
`all_split_files_in'
-  3. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/data_sources/filesystem.rb:86:in
`load_objects'
-  4. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/data_sources/filesystem.rb:45:in
`items'
-  5. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/base/source_data/site.rb:343:in
`block in load_items'
-  6. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/base/source_data/site.rb:342:in
`each'
-  7. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/base/source_data/site.rb:342:in
`load_items'
-  8. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/base/source_data/site.rb:244:in
`block in load'
-  9. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/base/source_data/site.rb:306:in
`with_datasources'
-  10. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/base/source_data/site.rb:243:in
`load'
-  11. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/base/source_data/site.rb:128:in
`layouts'
-  12. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/base/compilation/compiler.rb:188:in
`dependency_tracker'
-  13. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/base/memoization.rb:56:in `block
in memoize'
-  14. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/base/compilation/compiler.rb:460:in
`stores'
-  15. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/base/compilation/compiler.rb:147:in
`unload'
-  16. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/base/source_data/site.rb:279:in
`unload'
-  17. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/base/source_data/site.rb:259:in
`rescue in load'
-  18. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/base/source_data/site.rb:263:in
`load'
-  19. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/cli/command_runner.rb:64:in `load_site'
-  20. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/cli/commands/compile.rb:392:in
`run'
-  21. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/cli/command_runner.rb:14:in `block
in call'
-  22. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/cli/error_handler.rb:74:in `handle_while'
-  23. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/cli/error_handler.rb:26:in `handle_while'
-  24. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/cli/command_runner.rb:13:in `call'
-  25. /Library/Ruby/Gems/2.0.0/gems/cri-2.6.1/lib/cri/command_dsl.rb:223:in `block in runner'
-  26. /Library/Ruby/Gems/2.0.0/gems/cri-2.6.1/lib/cri/command.rb:298:in `call'
-  27. /Library/Ruby/Gems/2.0.0/gems/cri-2.6.1/lib/cri/command.rb:298:in `run_this'
-  28. /Library/Ruby/Gems/2.0.0/gems/cri-2.6.1/lib/cri/command.rb:251:in `run'
-  29. /Library/Ruby/Gems/2.0.0/gems/cri-2.6.1/lib/cri/command.rb:264:in `run'
-  30. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/cli.rb:59:in `block in run'
-  31. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/cli/error_handler.rb:74:in `handle_while'
-  32. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/cli/error_handler.rb:26:in `handle_while'
-  33. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib/nanoc/cli.rb:57:in `run'
-  34. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/bin/nanoc:25:in `<top (required)>'
-  35. /usr/bin/nanoc:23:in `load'
-
-===== VERSION INFORMATION:
-
-nanoc 3.7.4 © 2007-2014 Denis Defreyne.
-Running ruby 2.0.0 (2014-05-08) on universal.x86_64-darwin14 with RubyGems 2.0.14.
-
-===== SYSTEM INFORMATION:
-
-Darwin macsnoopdave2013.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT
2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64
-
-===== INSTALLED GEMS:
-
-  CFPropertyList 2.2.8
-  bigdecimal 1.2.0
-  colored 1.2
-  cri 2.6.1
-  htmlentities 4.3.3
-  io-console 0.4.2
-  json 1.7.7
-  libxml-ruby 2.6.0
-  mime-types 2.4.3
-  mini_portile 0.6.2
-  minitest 4.3.2
-  nanoc 3.7.4
-  nokogiri 1.5.6, 1.6.5
-  pandoc-ruby 0.7.5
-  posix-spawn 0.3.9
-  psych 2.0.0
-  pygments.rb 0.6.0
-  rack 1.6.0
-  rake 0.9.6
-  rdoc 4.0.0
-  sqlite3 1.3.7
-  test-unit 2.0.0.0
-  yajl-ruby 1.1.0
-
-===== ENVIRONMENT:
-
-ANDROID_HOME => "/Applications/Java/android-sdk-macosx/"
-ANT_HOME => "/Applications/Java/apache-ant-1.9.4"
-Apple_PubSub_Socket_Render => "/private/tmp/com.apple.launchd.0f4KqJYx5b/Render"
-CASSANDRA_HOME => "/Applications/Java/apache-cassandra-1.2.19"
-CATALINA_HOME => "/Applications/Java/apache-tomcat-7.0.59"
-CATALINA_OPTS => "-Dlog4j.configuration=file:/Applications/Java/apache-tomcat-7.0.59/lib/log4j.properties"
-CATALINA_PID => "/Applications/Java/apache-tomcat-7.0.59/catalina.pid"
-DISPLAY => ":0.0"
-ELASTICSEARCH_HOME => "/Applications/Java/elasticsearch-1.4.4-ug"
-GATLING_HOME => "/Applications/Java/gatling-charts-highcharts-2.0.0-RC5"
-GIT_SSL_NO_VERIFY => "true"
-GROOVY_HOME => "/Applications/Java/groovy"
-HOME => "/Users/ApigeeCorporation"
-JAVA_HOME => "/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home"
-JMETER_HOME => "/Applications/Java/jmeter"
-JRE_HOME => "/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home"
-LC_CTYPE => "en_US.UTF-8"
-LOGNAME => "ApigeeCorporation"
-M2_HOME => "/Applications/Java/apache-maven-3.3.1"
-MAVEN2_HOME => "/Applications/Java/apache-maven-3.3.1"
-MAVEN3_HOME => "/Applications/Java/apache-maven-3.3.1"
-MAVEN_OPTS => "-Xms7001m -Xmx7001m"
-OLDPWD => "/Users/ApigeeCorporation/src/usergrid"
-PATH => "/Users/ApigeeCorporation/bin:/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/bin:/Applications/Java/apache-maven-3.3.1/bin:/Applications/Java/apache-tomcat-7.0.59/bin:/Applications/Java/apache-cassandra-1.2.19/bin:/Applications/Java/elasticsearch-1.4.4-ug/bin:/Applications/Java/jmeter/bin:/Applications/Java/apache-ant-1.9.4/bin:/Applications/Java/gatling-charts-highcharts-2.0.0-RC5/bin:/Applications/Java/android-sdk-macosx//tools:/Applications/Java/android-sdk-macosx//platform-tools:/Applications/Java/groovy/bin:/usr/local/Cellar/ruby/2.0.0-p247/bin:/usr/local/bin:/usr/local/git/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/sw/bin:/usr/X11R6/bin:/opt/local/bin"
-PWD => "/Users/ApigeeCorporation/src/usergrid/website"
-RUBY_GEMS => "/usr/local/Cellar/ruby/2.0.0-p247"
-SHELL => "/bin/bash"
-SHLVL => "1"
-SSH_AUTH_SOCK => "/private/tmp/com.apple.launchd.hKMuDO4tvG/Listeners"
-TERM => "xterm-256color"
-TMPDIR => "/var/folders/mv/k7rks8y52hvb6n8rsz_j0_jc0000gp/T/"
-USER => "ApigeeCorporation"
-VIM_APP_DIR => "/Applications"
-XPC_FLAGS => "0x0"
-XPC_SERVICE_NAME => "0"
-_ => "/usr/bin/nanoc"
-__CF_USER_TEXT_ENCODING => "0x1F6:0x0:0x0"
-
-===== LOAD PATHS:
-
-  0. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib
-  1. /Library/Ruby/Gems/2.0.0/gems/colored-1.2/lib
-  2. /Library/Ruby/Gems/2.0.0/gems/cri-2.6.1/lib
-  3. /Library/Ruby/Gems/2.0.0/gems/nanoc-3.7.4/lib
-  4. /Library/Ruby/Gems/2.0.0/gems/pandoc-ruby-0.7.5/lib
-  5. /Library/Ruby/Gems/2.0.0/gems/htmlentities-4.3.3/lib
-  6. /Library/Ruby/Site/2.0.0
-  7. /Library/Ruby/Site/2.0.0/x86_64-darwin14
-  8. /Library/Ruby/Site/2.0.0/universal-darwin14
-  9. /Library/Ruby/Site
-  10. /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0
-  11. /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/x86_64-darwin14
-  12. /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/universal-darwin14
-  13. /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby
-  14. /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0
-  15. /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/x86_64-darwin14
-  16. /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin14

http://git-wip-us.apache.org/repos/asf/usergrid/blob/3fbb7d47/website/lib/default.rb
----------------------------------------------------------------------
diff --git a/website/lib/default.rb b/website/lib/default.rb
index 8adfad9..1a3609d 100644
--- a/website/lib/default.rb
+++ b/website/lib/default.rb
@@ -5,7 +5,7 @@ include Nanoc::Helpers::Rendering
 require 'pandoc-ruby'
 require 'htmlentities'
 
-class PandocFilter < Nanoc3::Filter
+class PandocFilter < Nanoc::Filter
   identifier :pandoc
   type :text
 
@@ -14,7 +14,7 @@ class PandocFilter < Nanoc3::Filter
   end
 end
 
-class FencedCodeBlock < Nanoc3::Filter
+class FencedCodeBlock < Nanoc::Filter
   identifier :fenced_code_block
   
   def run(content, params={})

http://git-wip-us.apache.org/repos/asf/usergrid/blob/3fbb7d47/website/nanoc.yaml
----------------------------------------------------------------------
diff --git a/website/nanoc.yaml b/website/nanoc.yaml
index ca1b598..ad4c5b5 100644
--- a/website/nanoc.yaml
+++ b/website/nanoc.yaml
@@ -33,11 +33,13 @@ prune:
 # hashes; each array element represents a single data source. By default,
 # there is only a single data source that reads data from the “content/” and
 # “layout/” directories in the site directory.
+string_pattern_type: legacy
 data_sources:
   -
     # The type is the identifier of the data source. By default, this will be
     # `filesystem_unified`.
     type: filesystem_unified
+    identifier_type: legacy
 
     # The path where items should be mounted (comparable to mount points in
     # Unix-like systems). This is “/” by default, meaning that items will have

http://git-wip-us.apache.org/repos/asf/usergrid/blob/3fbb7d47/website/run.sh
----------------------------------------------------------------------
diff --git a/website/run.sh b/website/run.sh
index cf1f043..b8da765 100755
--- a/website/run.sh
+++ b/website/run.sh
@@ -1 +1 @@
-nanoc autocompile
+nanoc view

http://git-wip-us.apache.org/repos/asf/usergrid/blob/3fbb7d47/website/tmp/checksums
----------------------------------------------------------------------
diff --git a/website/tmp/checksums b/website/tmp/checksums
deleted file mode 100644
index 4d256c0..0000000
--- a/website/tmp/checksums
+++ /dev/null
@@ -1,2 +0,0 @@
-{:	data{X[:	itemI"/bootstrap/bootstrap/:ETI"!YUoAHXSU496Zr8/S3Yd4cLZhRak=;F[;I"/community/;TI"!VZS4Q6jkydy+EZIEH6veYjJdp1U=;F[;I"/css/bootflat-extensions/;TI"!80jNRRDXOQd3Hqq9uFWHOSYjt9k=;F[;I"/css/bootflat-square/;TI"!fmcFRTmmu2E+nlYToVNFUW0hl04=;F[;I"/css/bootflat/;TI"!s3pj2lk1R+G2jYcp8xSmmnJt50A=;F[;I"/css/font-awesome/;TI"!L6HntW7X62auSV5nn6e7TRo8wfw=;F[;I"/css/usergrid-site/;TI"!lbp3e3xKxdPs88+XmfptUlMRDIU=;F[;I"/favicon/;TI"!4smyALZJYBMIjWuCmX1/Vehr0UI=;F[;I"#/font/fontawesome-webfont-eot/;TI"!LRParNNq2Rtr4KLCZp9VGb6tY9g=;F[;I"#/font/fontawesome-webfont-svg/;TI"!Gmc7jPZDpJCaXKhTSFMJBy3e5cA=;F[;I"#/font/fontawesome-webfont-ttf/;TI"!322E1FFOsC3m5lj1+2sOwHw+dCw=;F[;I"$/font/fontawesome-webfont-woff/;TI"!3U314P6TXZ/0x8emFo+a8C3pgn4=;F[;I"/font/FontAwesome/;TI"!YnXnkoHG4sUQGhyM0z710OdnwI4=;F[;I"/img/alberto/;TI"!WoW4bmapTfP3oN7oINZqaUeJs4I=;F[;I"/img/alex/;TI"!jDROtfgu0tIADH4Z95zsw5
 GwhGc=;F[;I""/img/apache_usergrid_favicon/;TI"!J2Ojtxa8TRBuZuEA/FUTZJ0ozwo=;F[;I"%/img/apache_usergrid_logo_white/;TI"!4pdQF1Wd0joMXt/iXYWUtZ6OlTA=;F[;I"+/img/apache_usergrid_logo_white_small/;TI"!L7tcCtaBPz4wZdfc4O06AD9UkdQ=;F[;I"/img/check_flat/default/;TI"!qvFScfk4lldM7QMp2IbTDfCHw7U=;F[;I"/img/dave/;TI"!WVfvg0oAX9OTAcA9Dl8o8AzxwnY=;F[;I"
/img/ed/;TI"!dG6vqkqNYU313WlkeeX70v8uCrI=;F[;I"/img/egg-logo/;TI"!iwunI0vDIE+SDFQv91tI6E/b92c=;F[;I"/img/github/;TI"!+86quf3enEWPUNu7076SgT9kj1g=;F[;I"/img/grey/;TI"!ibXxwHIz35wmSa3oZnTBJzAKsP0=;F[;I"/img/intellij/;TI"!qBB3+rDQ087MfPpWDwGsovdDRUo=;F[;I"/img/jeff/;TI"!RbEYH0iQgQTeREyWmb+7Mq9b02s=;F[;I"/img/michael_r/;TI"!UXLGJNL50qHr77X2s+Ds5crN/JU=;F[;I"/img/mike_d/;TI"!VzkdDF9Raqf/2U4yAAVpRpBLZV0=;F[;I"/img/nate/;TI"!1t1y5YPHyRxyv8iyheJY9JGoLtM=;F[;I"/img/rod/;TI"!/gpAs4yLw63OGpUNgT2s/QpMr4o=;F[;I"/img/scott/;TI"!KGStcjMwSUJ4s4I+8DpbvtR1n
 Dg=;F[;I"/img/shawn/;TI"!RTTqvuh0gBGB5Rz+Ob1BBz68Hl0=;F[;I"/img/stliu/;TI"!0JmFFiQZodPbuEgSCSf1DComGdY=;F[;I"/img/strong/;TI"!0qXHaf494HstngPwMzjsF4z2afk=;F[;I"/img/structure101/;TI"!84sJ4M0JYrZnZchlAl1Ko4Jt6nc=;F[;I"/img/sungju/;TI"!WiOoe/70g/gbPZIkrtr7ZHesTso=;F[;I"/img/tim/;TI"!5XtnJMfzZ7U9pTcq3gkSrsOiZF4=;F[;I"/img/todd/;TI"!mT2XUzdl+Mbo2P67jiS+5tsnCdY=;F[;I"/img/usergrid-logo/;TI"!10Y/fj+M83dqejKO4huPGJBPhVw=;F[;I"/img/usergrid/;TI"!1eQaVjeVq5DMX/duAdIp/MoDFIg=;F[;I"/img/usergrid_160/;TI"!QpEa0XK5auDvfbDNdybsWC1KRUI=;F[;I"/img/usergrid_200/;TI"!EaM2rLslqqUzlEtyOAVfdjADAB0=;F[;I"/img/usergrid_300/;TI"!2ZP0iuH4WwTCqWJa9ViVffqeirI=;F[;I"#/img/usergrid_300_transparent/;TI"!jkfHw6VBZI3BKVNt6fEUZ7eMIeQ=;F[;I"/img/usergrid_400/;TI"!1ac6bNRh8Xr5KFtHaVTFMdHZ1nk=;F[;I"/img/usergrid_800/;TI"!w/tknopar5i/1ee41zQRXB6YejY=;F[;I"/img/usergrid_card/;TI"!khOw34EC1ImbC5ta79uV09Xy8Yc=;
 F[;I"/img/usergrid_logo/;TI"!1vIHlfp7TYm6ESHj9BjOiJZYVc8=;F[;I"/img/usergrid_logo_205_50/;TI"!Cc6CKcz/ZoKhl2XqKCfFaQSPZPU=;F[;I"/img/usergrid_logo_260_50/;TI"!Kr6oc40kf6W/ILfeVPHKR1ROK4w=;F[;I"/img/usergrid_logo_720/;TI"!Ui+Llu18WKpsEA3kyTbQpmbC2W0=;F[;I"/img/usergrid_logo_720p/;TI"!0r8k3EqvGX10rfS553hf2tRYk8k=;F[;I"
/img/usergrid_logo_900_200/;TI"!vunhiKHxx9glB+baiwjeEEiJ0KI=;F[;I"/img/usergrid_logo_white/;TI"!RQl3eEzZE2ENkD78JrWFEjtIHCE=;F[;I"/img/usergrid_profile_128/;TI"!tWP/qK2jnI3a01/wfbz9jCW/4Mc=;F[;I"/img/usergrid_profile_256/;TI"!QEfoU4T3e3MexN7pRr3CM0ATlYA=;F[;I"%/img/usergrid_profile_256_white/;TI"!goWISnj/V0r02DQKs3uwnNnMEZ0=;F[;I"'/img/usergrid_profile_512_margins/;TI"!r6mlNE+Krjp7rnW5lIBzv9CqmoQ=;F[;I"$/img/usergrid_profile_64_white/;TI"!9HF0Lw7AGZnDrckK8fkfYoN526k=;F[;I"&/img/usergrid_profile_background/;TI"!29t7fD/KA6refcTIvbOeBmELVVI=;F[;I"!/img/usergrid_screencast_bg/;TI"!tjYC
 DxBt+WvTWCOSmwx6xbx11gc=;F[;I"/img/usergrid_small_100/;TI"!LqF8d8xueb3y7O5O/v7iJ/ND5aE=;F[;I"/img/usergrid_wiki/;TI"!sjc6u4I7Lk8QpK8NXo/YBZKi/2c=;F[;I"/img/yourkit/;TI"!Bwcb+MwxtGuUMqnANgNtzq5X/tw=;F[;I"/;TI"!eqRaBXu3YUN52v2fgsENaugcmk8=;F[;I"/js/bootstrap/;TI"!xTcEiCgdxrEdE1kho/jKCMcWqqc=;F[;I"/js/head/;TI"!KNtvUxuNH9eUiy9JhQLEcuT+q+4=;F[;I"/js/html5shiv/;TI"!bvbw91ergR0oPLK+pMmuATJpYuI=;F[;I"/js/jquery-1/;TI"!s1JOCn7uKtHuvJuscghxN9hq8wQ=;F[;I"/js/jquery/;TI"!ebkz2Hv86oQU1R35xLYNRnl3vvk=;F[;I"/js/respond/;TI"!2f7+RS9dfVUu1S0NNrAdW8ysYDU=;F[;I"/js/usergrid-site/;TI"!6d1mVODYvaFl6qDYA+rtmG46IOI=;F[;I"/releases/;TI"!4T1+U8tBYWuIoFfhL4+UqALf6mk=;F[;I"/static/github-btn/;TI"!Uk0HFXlxNXgV+9V8s9/9i2nr27s=;F[:layoutI"/community/;TI"!Vz6WtgEl8BB6t96FGbzN5hhVc4c=;F[;I"/default/;TI"!k9I6lOQ4z4+nHoc8WQw7P2MoKbY=;F[;I"/docs/;TI"!tmBld5ZHivR/56iHwp6I0LUoPlc=;F[;I"
/footer/;TI"!iL
 zZaL9jsE9qH/1mj/yosIoCfH0=;F[;I"
/header/;TI"!Diks9ApifD4Ze6SOwHw1aW++SOA=;F[:code_snippetI"lib/default.rb;TI"!obtwYGHKsZcksb03nMTPrlOqd5U=;F[;
I"lib/helpers_.rb;TI"!huKhcwQYeoQiIuYmRpgzAwKwrbc=;F:configI"!Sxvusj+Tnw1yNJuSGRkZ7fv3R2Q=;F:
-rulesI"!nclWn6tIAjzNd8AV/It9HpNy9y0=;F:versioni
\ No newline at end of file


Mime
View raw message