Skip to content

Commit

Permalink
add hints for setup, maybe helps for #10
Browse files Browse the repository at this point in the history
  • Loading branch information
andibraeu committed May 22, 2022
1 parent 602a470 commit b7e1dd1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ yarn install
node server.js
```

If you don't see any tiles: Copy `config.json.sample` to `config.json`, add your mapbox id and then start the server.

## Options

Community map accepts options as JSON object
Expand Down
9 changes: 6 additions & 3 deletions config.json.sample
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"feedUrl": "//feed-fossasia-api.herokuapp.com/feed.php",
"feedUrl": "//api.freifunk.net/feed/feed.php",
"embedTimelineUrl": "//timeline-fossasia-api.herokuapp.com/embed.php",
"ffGeoJsonUrl": "http://api.fossasia.net/map/ffGeoJsonp.php",
"ffGeoJsonUrl": "http://api.freifunk.net/map/ffGeoJsonp.php",
"postContentLimit": 3,
"postContentLength": 30
"postContentLength": 30,
"showNews": true,
"showEvents": true,
"mapboxId": "<your mapbox api id>"
}

0 comments on commit b7e1dd1

Please sign in to comment.