This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
org.gramar.storm.gramar:walkthrough [2016/08/12 18:07] chrisgerken |
org.gramar.storm.gramar:walkthrough [2016/08/13 11:41] (current) chrisgerken |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| This page walks through a sample usage of the org.gramar.storm.gramar **gramar**. The specifics of the topology to be implemented aren't all that important. Instead we'll focus on how to use the gramar to generate almost all of the topology implementation. | This page walks through a sample usage of the org.gramar.storm.gramar **gramar**. The specifics of the topology to be implemented aren't all that important. Instead we'll focus on how to use the gramar to generate almost all of the topology implementation. | ||
| + | |||
| + | ==== Setup ==== | ||
| + | |||
| + | This walkthrough was run on a new Ubuntu VMware image with some additional installed software: | ||
| + | |||
| + | * Eclipse was downloaded and unzipped | ||
| + | * From Eclipse, **Help --> Install New Software** to install | ||
| + | * M2E from update site http://download.eclipse.org/releases/mars | ||
| + | * If this were a real development effort I'd probably also install EGit from here, too. | ||
| + | * Grammar from update site http://gramar.org/eclipse/gramar | ||
| + | * All gramars from update site http://gramar.org/eclipse/gramars | ||
| + | * In **Window --> Preferences --> Java --> Installed JRE's --> Execution Environment** select the installed JDK o be used for Java 1.8 | ||
| + | * From a terminal, use sudo apt-get to install the **graphviz** package. Technically it's not required, but you need graphviz to produce the topology diagrams and the diagrams will be a key success factor in a real project. | ||
| + | * For a real project, I'd also install git and maven | ||
| ==== The Model ==== | ==== The Model ==== | ||