Nils Schneider ad0bd8182d travis: use config.js.example for CI | %!s(int64=9) %!d(string=hai) anos | |
---|---|---|
doc | %!s(int64=9) %!d(string=hai) anos | |
html | %!s(int64=9) %!d(string=hai) anos | |
img | %!s(int64=9) %!d(string=hai) anos | |
lib | %!s(int64=9) %!d(string=hai) anos | |
scss | %!s(int64=9) %!d(string=hai) anos | |
tasks | %!s(int64=9) %!d(string=hai) anos | |
.gitignore | %!s(int64=9) %!d(string=hai) anos | |
.travis.yml | %!s(int64=9) %!d(string=hai) anos | |
CHANGELOG.md | %!s(int64=9) %!d(string=hai) anos | |
Gruntfile.js | %!s(int64=9) %!d(string=hai) anos | |
LICENSE | %!s(int64=9) %!d(string=hai) anos | |
README.md | %!s(int64=9) %!d(string=hai) anos | |
app.js | %!s(int64=9) %!d(string=hai) anos | |
bower.json | %!s(int64=9) %!d(string=hai) anos | |
build.js | %!s(int64=9) %!d(string=hai) anos | |
config.js.example | %!s(int64=9) %!d(string=hai) anos | |
helper.js | %!s(int64=9) %!d(string=hai) anos | |
images | %!s(int64=9) %!d(string=hai) anos | |
index.html | %!s(int64=9) %!d(string=hai) anos | |
package.json | %!s(int64=9) %!d(string=hai) anos | |
style.css | %!s(int64=9) %!d(string=hai) anos |
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.