The purpose of this repository is to show how to host scenarios for use with https://orbat-mapper.app. ORBAT Mapper does not store scenarios on a server, but you can import scenarios from URLs and create a sharable link:
Example of sharable URL for a scenario stored in this repo: https://orbat-mapper.app/?loadScenarioURL=https%3A%2F%2Forbat-mapper.github.io%2Fscenario-hosting-test%2FFramland-Arnland-example.json
A convenient place to store and host a scenario is GitHub. For this to work you have to follow the following steps:
Framland-Arnland-example.json
files is hosted on the url https://orbat-mapper.github.io/scenario-hosting-test/Framland-Arnland-example.json A convenient way to do this is to add links to them in the README.md file like this:
List of scenarios:
- [Framland-Arnland-example.json](/scenario-hosting-test/Framland-Arnland-example.json)
List of scenarios:
When the site is published the README will be rendered with links that you can copy and paste into ORBAT Mapper.