This repo aims to run the SyncroSim software in a Docker container. The goal is to run external Syncrosim libraries and scenarios from the command line.
If going the dev container route, you will need the following:
- Docker (cli, but optionally the desktop app)
- VSCode, and the
Dev Containers
extension
After cloning the repo, you will need to open it in VSCode ( code .
in the command line) and run the following command:
Cmd + Shift + P -> Dev Containers: Reopen in Container
or
Cmd + Shift + P -> Dev Containers: Rebuilt Container
While building the Dokcer container, SyncroSim is installed an executed once, so if this is sucessful it should run in principle. Once the container is build you can execute in from the terminal using
mono syncrosim_linux_3_0_9/SyncroSim.Console.exe [command][argument, argument, ...]
To execute the SagebrushSteppeRestoration
library, run
./simulation/run_syncrosim_scenario.sh
The library is mounted from external, as it is quite large. You would need to download this and mount accordingly
- This currently does not run, because we have not installed the ST-SIM package!
├── .devcontainer 📁
│ └── devcontainer.json
📄 mounts external folders, ...
│ └── Dockerfile
📄 mounts external folders, ...
│ └── python_environment.yaml
📄 *handles
│ └── scripts 📁 scripts to be run during built
│ └── handle_startup_sh
📄 ?
│ └── *install_git_and_ssh.sh
📄 handles, git, ssh, and executables
│ └── *install_syncrosim.sh
📄
installation of python and python packages*
├── simulation 📁 files for simulations within container
│ └── *run_syncrosim_scenario.sh
📄 *Run a syncrosim scenario from the library *
├── syncrosim_linux_3_0_9 📁 contains the .exe
and all files to run it