This is an example project that uses VS Code development containers for executing Troupe code.
Just follow these steps:
- Follow the getting started steps to set up your machine.
- Clone this repository.
- Open this project in VS Code.
- Press F1 and run Remote-Containers: Reopen in Container to open this folder in a docker container with Troupe installed
- The terminal in VS Code is now set up such that
$TROUPE
points to the Troupe installation and the path contains the scriptslocal.sh
andnetwork.sh
. You can therefore run the examples provided here by typing e.glocal.sh helloworld.trp
ornetwork.sh helloworld.trp
in the VS Code terminal.