2015-04-01 17:49:12 +02:00
|
|
|
[![Build Status](https://travis-ci.org/tcatm/meshviewer.svg?branch=master)](https://travis-ci.org/tcatm/meshviewer)
|
|
|
|
|
2015-04-01 17:07:04 +02:00
|
|
|
# Meshviewer
|
|
|
|
|
|
|
|
Meshviewer is a frontend for
|
|
|
|
[ffmap-backend](https://github.com/ffnord/ffmap-backend).
|
|
|
|
|
|
|
|
# Screenshots
|
|
|
|
|
|
|
|
![](doc/mapview.png?raw=true)
|
|
|
|
![](doc/graphview.png?raw=true)
|
|
|
|
![](doc/allnodes.png?raw=true)
|
|
|
|
![](doc/links.png?raw=true)
|
|
|
|
![](doc/statistics.png?raw=true)
|
|
|
|
|
2015-03-29 14:49:59 +02:00
|
|
|
# Dependencies
|
2015-03-29 01:09:21 +01:00
|
|
|
|
2015-03-29 14:49:59 +02:00
|
|
|
- npm
|
|
|
|
- bower
|
|
|
|
- grunt-cli
|
2015-04-03 22:21:52 +02:00
|
|
|
- Ruby and Sass
|
2015-03-29 01:09:21 +01:00
|
|
|
|
2015-03-29 14:49:59 +02:00
|
|
|
# Installing dependencies
|
2015-03-29 01:09:21 +01:00
|
|
|
|
2015-03-29 14:49:59 +02:00
|
|
|
npm install
|
|
|
|
bower install
|
2015-03-29 03:46:10 +02:00
|
|
|
|
|
|
|
# Building
|
|
|
|
|
2015-04-10 01:17:33 +02:00
|
|
|
You may want to tweak `lib/config.js` to point to your data files. If it's
|
2015-04-01 17:12:24 +02:00
|
|
|
served from a different domain, remember to [enable CORS] on your
|
|
|
|
webserver. Enabling GZip will reduce bandwidth consumption.
|
|
|
|
|
2015-03-29 03:46:10 +02:00
|
|
|
Just run:
|
|
|
|
|
2015-03-29 14:49:59 +02:00
|
|
|
grunt
|
2015-03-29 03:46:10 +02:00
|
|
|
|
2015-04-01 17:12:24 +02:00
|
|
|
This will generate `build/` containing all required files.
|
|
|
|
|
|
|
|
[enable CORS]: http://enable-cors.org/server.html
|