forked from vaske/stack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 63af014
Showing
484 changed files
with
79,923 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
.idea | ||
*.DS_Store | ||
hector.iml | ||
releases | ||
target | ||
tmp | ||
bin | ||
build | ||
.classpath | ||
.project | ||
.settings | ||
out | ||
*.svn | ||
*.ipr | ||
*.iws | ||
DS_Store | ||
/.DS_Store | ||
*.class | ||
.class | ||
|
||
/console/.gitignore | ||
/websocket/${activemq.base}/ | ||
/tools/export/ | ||
/config/src/main/resources/usergrid-custom.properties | ||
/config/src/test/resources/usergrid-custom-test.properties | ||
/standalone/usergrid-custom-standalone.properties | ||
/rest/src/main/resources/usergrid-custom.properties |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
Usergrid | ||
|
||
Note: The easiest way to run Usergrid is to download the double-clickable jar | ||
at: | ||
|
||
https://usergrid.s3.amazonaws.com/usergrid-launcher-0.0.1-SNAPSHOT.jar | ||
|
||
This will let you try out the system without building or installing it. | ||
|
||
Requirements | ||
|
||
JDK 1.6 (http://www.oracle.com/technetwork/java/javase/downloads/index.html) | ||
Maven (http://maven.apache.org/) | ||
|
||
Building | ||
|
||
Download and install Maven using the instructions on the Apache Maven website, | ||
then, from the command line, go to the usergrid directory and type the | ||
following: | ||
|
||
mvn install | ||
|
||
This will cause Maven to download and install all the necessary dependencies. | ||
This also runs a small set of tests after compilation, however these tests do | ||
start up an instance of Cassandra. To run the build without all the tests | ||
being fired, use the following: | ||
|
||
mvn install -DskipTests=true | ||
|
||
Running | ||
|
||
Usergrid-core contains the persistence layer and shared utilities for powering | ||
the Usergrid service. The services layer is contained in usergrid-services and | ||
exposes a higher-level API that's used by the usergrid-rest web services tier. | ||
|
||
You can run Usergrid as either a webapp in tomcat, by deploying the ROOT.war | ||
file generated in the usergrid/rest project, or from the command-line from the | ||
jar in the usergrid/standalone project, or as a double-clickable app with the | ||
usergrid/launcher project. | ||
|
||
If you don't want to do a full build, you can download a pre-built version | ||
of the launcher app from: | ||
|
||
https://usergrid.s3.amazonaws.com/usergrid-launcher-0.0.1-SNAPSHOT.jar | ||
|
||
Licenses | ||
|
||
All source code files have copyright headers indicating their license under | ||
either the GPL, AGPL, or LGPL. | ||
|
||
All files under the core and config subdirectories are part of the "Usergrid | ||
Core". These files are intended to be licensed under the GPL and should have | ||
such indicated in their copyright headers. | ||
|
||
All files under the other sub-directories are part of the "Usergrid Stack". | ||
These files are intended to be licensed under the Affero GPL and should have | ||
such indicated in their copyright headers. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
Global configuration properties | ||
|
||
Standard configuration: | ||
|
||
src/main/resources | ||
cassandra.yaml | ||
hazelcast.xml | ||
log4j.properties | ||
usergrid.properties | ||
|
||
Test configuration: | ||
|
||
src/test/resources | ||
cassandra.yaml | ||
hazelcast.xml | ||
log4j.properties | ||
usergrid.properties | ||
|
||
Important configuration options in usergrid.properties: | ||
|
||
cassandra.use_remote | ||
cassandra.local.url | ||
cassandra.remote.url | ||
|
||
Make sure you're only running with cassandra.use_remote=false when testing and | ||
that you're running with cassandra.use_remote=true when running in production. | ||
|
||
You can override the properties by having a file named | ||
usergrid-custom.properties in the classpath. This will get loaded after the | ||
usergrid.properties file is loaded and will override any values with the same | ||
names. This makes it easier to keep confidential credentials out of source | ||
code version control. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>org.usergrid</groupId> | ||
<artifactId>usergrid</artifactId> | ||
<version>0.0.1-SNAPSHOT</version> | ||
</parent> | ||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<bundle.symbolicName>org.usergrid.config</bundle.symbolicName> | ||
<bundle.namespace>org.usergrid</bundle.namespace> | ||
</properties> | ||
<artifactId>usergrid-config</artifactId> | ||
<name>${bundle.symbolicName} [${bundle.namespace}]</name> | ||
<description>Runtime config resources for Usergrid system.</description> | ||
<packaging>jar</packaging> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>2.3.2</version> | ||
<configuration> | ||
<source>1.6</source> | ||
<target>1.6</target> | ||
<optimize>true</optimize> | ||
<debug>true</debug> | ||
<showDeprecation>true</showDeprecation> | ||
<showWarnings>true</showWarnings> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<version>2.3.1</version> | ||
<executions> | ||
<execution> | ||
<id>test-jar-execution</id> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>test-jar</goal> | ||
</goals> | ||
<configuration> | ||
<classifier>tests</classifier> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Manifest-Version: 1.0 | ||
Class-Path: | ||
|
Oops, something went wrong.