Skip to content

snoopdave/vagrant-ubuntu-usergrid

Repository files navigation

VagrantFile that launches a Usergrid 2.1.0 VM

The VagrantFile in this directory starts a Virtual Machine (VM) that runs the Usergrid Stack and Portal at http://10.1.1.161:8080/portal on your machine.

For local development and testing purposes -- not for production.

It installs and starts Cassandra + ElasticSearch, installs and starts Tomcat, installs and configures Usergrid 2 Stack and Portal to run on Tomcat.

How to launch the VM

  1. Install Vagrant on your computer
  2. Clone the GitHub usergrid-vagrant repo
  3. cd into the usergrid-vagrant directory
  4. Run this command to launch the Vagrant VM with Usergrid: vagrant up
  5. Wait 5-10 minutes for the installation to complete.

How to access the Usergrid Portal

Once the VM launches and completes initialization, you should be able to:

You can also use vagrant ssh to login to the VM and see the Usergrid installation. You'll find Java 1.8, Apache Cassandra, Tomcat and Usegrid installed. Three key parts of the Usergrid installation are:

  1. Usergrid properties file: /usr/share/tomcat7/lib/usergrid-custom.properties
  2. Usergrid WAR file: /var/lib/tomcat7/webapps/ROOT.war
  3. Usergrid Portal: /var/lib/tomcat7/webapps/portal

For more about the Usergrid BaaS and its API, see the official Apache Usergrid Documentation site.

About

Vagrant setup for Usergrid, Tomcat and Cassandra in Virtual Box. I'd be surprised if this still works at all!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages