Skip to content

orbat-mapper/scenario-hosting-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

ORBAT Mapper scenario hosting test

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:

image

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:

  1. Create a public repository and initialize it with a README
  2. Add your downloaded scenario files to the root of the repository

image

  1. Create a Github Pages site from your repository
  2. You now need to find the URL for the scenario JSON files you have uploaded. For this repository the 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](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.