Skip to content
Daniele Morgantini edited this page Jan 16, 2022 · 8 revisions
  1. Make sure Redis is active (in Ubuntu, redis-server command on shell) and Storm is installed and running on Zookeeper
  2. Start Node.js server node server.js
  3. Open index.html page on your browser or visit its URL
  4. Start Storm topology storm jar RTwUP-jar-with-dependencies.jar storm.RtwupTopology

If you want to run it locally for testing purposes:

  1. You should package it as an executable jar with dependencies
  2. Set production = false in the config.properties
  3. Execute it with the command java -jar target/RTwUP-jar-with-dependencies.jar src/test/resources/config.properties or storm local target/RTwUP-jar-with-dependencies.jar storm.RtwupTopology.

In both cases, please verify that config.properties file can be found in a suitable location for the program to read it (e.g., you might have to locate it inside each storm node).