- Create the
config.jsonfile with all attributes of theconfig.json.examplefile. - Init the
Servergit submodule:git submodule update --init
- Check if the
Servermodule is the newest version:git pull - Start the simulation server:
yarn start - Start the viktoriaapp server (Not the submodule) with the
-sor--simulationattribute and the keys of the features you want to simulate. Currently supported keys:- sp (Substitution plan)
3.1. An example is:
yarn start -s sp
- sp (Substitution plan)
3.1. An example is:
- Go to
data.json - There is an array
substitutionPlan, this array contains all days for the request. Each day is the updated iso-date from the database substitution plan history - For all usual cases should loading history data enough, but when you need to load custom data, you have to add this data in the
data_substitution_plantable