-
Notifications
You must be signed in to change notification settings - Fork 2
HowToUse
rbedia edited this page Jul 29, 2011
·
3 revisions
- Download the source code
- Run: 'mvn install' in the root directory
- Run: cd ipheatmap-assembly
- Run: mvn assembly:single
- Extract target/ipheatmap-assembly-0.0.1-SNAPSHOT-bundle.zip to an empty directory
- Change to the directory where the bundle was extracted.
- You will need an input file containing a list of IP addresses. The file should be formatted with one IP per line in plain dotted decimal format. For example: 1.1.1.12.2.2.23.3.3.3
- Save the file as iplist.txt.
- Run: java -jar ipheatmap-splitter-0.0.1-SNAPSHOT.jar iplist.txt iplist
A directory called iplist will be created with the iplist.txt split into smaller binary files. This is done for performance reasons later when generating the maps.
- Change to the ipheatmap-server directory.
- Edit src/main/webapp/WEB-INF/web.xml.
- Modify the ipDir parameter to point to the directory created by the IPSplitter.
- Modify the cacheDir parameter to point to any empty directory where cached tiles will be saved.
- Modify the labelFile parameter to point to the network-labels.txt file. There is an example network-labels.txt file provided in the top level project directory.
- Save the file.
- Run: mvn jetty:run.
- Open http://localhost:8080/ in a web browser.
- You are now viewing your IP address list in a map.
TODO