Map-A-Droid / MAD-docs

Documentation for Map-A-Droid
8 stars 28 forks source link

docker, add info to create mappings.json when starting from scratch #18

Closed Breee closed 4 years ago

Breee commented 4 years ago

MAD no longer uses mapping.json.example, Someone that starts from scratch now has to create an empty one with the content:

{
    "areas": {
        "entries": {},
        "index": 0
    },
    "auth": {
        "entries": {},
        "index": 0
    },
    "devices": {
        "entries": {},
        "index": 0
    },
    "devicesettings": {
        "entries": {},
        "index": 0
    },
    "migrated": true,
    "monivlist": {
        "entries": {},
        "index": 0
    },
    "walker": {
        "entries": {},
        "index": 0
    },
    "walkerarea": {
        "entries": {},
        "index": 0
    }
}

Tested it locally, works for me. People which migrate to docker with existing mappings.json, should not run into trouble.