Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.91 KB

README.md

File metadata and controls

39 lines (24 loc) · 1.91 KB

Salt Examples

Examples for Salt

Please be sure to check out the release tag matching the version of Salt you intend to use

Dependencies

To run the example projects your development environment will need to have the following installed:

  • Docker
  • Java compiler
  • Gradle
  • Node + npm

Running Examples

Examples generally have two phases: 1) tile data generation, 2) web-based viewer of the result. Tile generation relies on a Docker container running Apache Spark to simplify running examples on your local machine. To build this container for use in all examples, run:

$ docker build -t uncharted/salt-examples .

Please see README.md files in each example directory for further instructions.

Using Windows?

Windows and Docker don't always play nicely together when it comes to volume mounting. Some tips:

  • Make sure you have *NIX line endings on all the files in your working copy. Set $ git config core.autocrlf false and check out a fresh copy of the salt-examples codebase.
  • If all else fails, try virtualizing a Linux environment