Docs: add instructions for forks
This commit is contained in:
parent
1f9e91dc0c
commit
2ae8f8c18d
2 changed files with 10 additions and 0 deletions
|
@ -106,6 +106,12 @@ If you want to deploy your fork:
|
||||||
2. Copy the entire `dist` folder to where you host your website. Visiting `index.html` gives you the landing page,
|
2. Copy the entire `dist` folder to where you host your website. Visiting `index.html` gives you the landing page,
|
||||||
visiting `yourwebsite/<theme>` should bring you to the appropriate theme.
|
visiting `yourwebsite/<theme>` should bring you to the appropriate theme.
|
||||||
|
|
||||||
|
### Getting your own API-keys
|
||||||
|
|
||||||
|
Some services are bound to `https://mapcomplete.org`. In `package.json/config`, search for "#fork" and read the instructions.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Weird errors
|
Weird errors
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
],
|
],
|
||||||
"oauth_credentials": {
|
"oauth_credentials": {
|
||||||
"#": "This client-id is registered by 'MapComplete' on OpenStreetMap.org",
|
"#": "This client-id is registered by 'MapComplete' on OpenStreetMap.org",
|
||||||
|
"#fork": "For a fork, you will need to register your own key at https://www.openstreetmap.org/oauth2/applications",
|
||||||
"oauth_client_id": "K93H1d8ve7p-tVLE1ZwsQ4lAFLQk8INx5vfTLMu5DWk",
|
"oauth_client_id": "K93H1d8ve7p-tVLE1ZwsQ4lAFLQk8INx5vfTLMu5DWk",
|
||||||
"oauth_secret": "NBWGhWDrD3QDB35xtVuxv4aExnmIt4FA_WgeLtwxasg",
|
"oauth_secret": "NBWGhWDrD3QDB35xtVuxv4aExnmIt4FA_WgeLtwxasg",
|
||||||
"url": "https://www.openstreetmap.org",
|
"url": "https://www.openstreetmap.org",
|
||||||
|
@ -37,10 +38,12 @@
|
||||||
"error_server": "https://report.mapcomplete.org/report",
|
"error_server": "https://report.mapcomplete.org/report",
|
||||||
"api_keys": {
|
"api_keys": {
|
||||||
"#": "Various API-keys for various services. Feel free to reuse those in another MapComplete-hosted version",
|
"#": "Various API-keys for various services. Feel free to reuse those in another MapComplete-hosted version",
|
||||||
|
"#fork": "Not bound to a domain; can be reused",
|
||||||
"imgur": "7070e7167f0a25a",
|
"imgur": "7070e7167f0a25a",
|
||||||
"mapillary_v4": "MLY|4441509239301885|b40ad2d3ea105435bd40c7e76993ae85"
|
"mapillary_v4": "MLY|4441509239301885|b40ad2d3ea105435bd40c7e76993ae85"
|
||||||
},
|
},
|
||||||
"panoramax": {
|
"panoramax": {
|
||||||
|
"#fork": "Not bound to a domain; can be reused",
|
||||||
"url": "https://panoramax.mapcomplete.org",
|
"url": "https://panoramax.mapcomplete.org",
|
||||||
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnZW92aXNpbyIsInN1YiI6IjU5ZjgzOGI0LTM4ZjAtNDdjYi04OWYyLTM3NDQ3MWMxNTUxOCJ9.0rBioZS_48NTjnkIyN9497c3fQdTqtGgH1HDqlz1bWs",
|
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnZW92aXNpbyIsInN1YiI6IjU5ZjgzOGI0LTM4ZjAtNDdjYi04OWYyLTM3NDQ3MWMxNTUxOCJ9.0rBioZS_48NTjnkIyN9497c3fQdTqtGgH1HDqlz1bWs",
|
||||||
"sequence": "6e702976-580b-419c-8fb3-cf7bd364e6f8",
|
"sequence": "6e702976-580b-419c-8fb3-cf7bd364e6f8",
|
||||||
|
@ -61,6 +64,7 @@
|
||||||
"photonEndpoint": "https://photon.komoot.io/",
|
"photonEndpoint": "https://photon.komoot.io/",
|
||||||
"jsonld-proxy": "https://lod.mapcomplete.org/extractgraph?url={url}",
|
"jsonld-proxy": "https://lod.mapcomplete.org/extractgraph?url={url}",
|
||||||
"protomaps": {
|
"protomaps": {
|
||||||
|
"#fork": "Bound to https://mapcomplete.org; get your own at https://protomaps.com/",
|
||||||
"api-key": "2af8b969a9e8b692",
|
"api-key": "2af8b969a9e8b692",
|
||||||
"endpoint": "https://api.protomaps.com/tiles/",
|
"endpoint": "https://api.protomaps.com/tiles/",
|
||||||
"styles": [
|
"styles": [
|
||||||
|
|
Loading…
Reference in a new issue