Nils Schneider ad0bd8182d travis: use config.js.example for CI | 9 jaren geleden | |
---|---|---|
doc | 9 jaren geleden | |
html | 9 jaren geleden | |
img | 9 jaren geleden | |
lib | 9 jaren geleden | |
scss | 9 jaren geleden | |
tasks | 9 jaren geleden | |
.gitignore | 9 jaren geleden | |
.travis.yml | 9 jaren geleden | |
CHANGELOG.md | 9 jaren geleden | |
Gruntfile.js | 9 jaren geleden | |
LICENSE | 9 jaren geleden | |
README.md | 9 jaren geleden | |
app.js | 9 jaren geleden | |
bower.json | 9 jaren geleden | |
build.js | 9 jaren geleden | |
config.js.example | 9 jaren geleden | |
helper.js | 9 jaren geleden | |
images | 9 jaren geleden | |
index.html | 9 jaren geleden | |
package.json | 9 jaren geleden | |
style.css | 9 jaren geleden |
Meshviewer is a frontend for ffmap-backend.
npm install
bower install
Copy config.js.example
to config.js
and change it to match your community.
dataPath
must point to a directory containing nodes.json
and graph.json
(both are generated by
ffmap-backend). Don't forget the
trailing slash! Data may be served from a different domain with CORS enabled.
Also, GZip will greatly reduce bandwidth consumption.
Change this to match your communities' name. It will be used in various places.
This affects the initial scale of the map. Greater values will show a larger area. Values like 1.0 and 0.5 might be good choices.
Setting this to false
will hide contact information for nodes.
Just run:
grunt
This will generate build/
containing all required files.