DevContainer is a ready to use development environment for Fluence solutions with VSCode integration containing the following tools:
aqua-cli
to compile Aquafldist
to manage services and optionally execute compiled Aqua from the command linemarine
to compile modules developed in Rust to the wasm32-wasi targetmrepl
to run, test and debug linked Wasm modules locally
Docker and optionally VSCode need to be available on your system. For Docker installation, follow the Get Docker instructions for your OS. For VSCode, see VSCocde for instructions.
With Docker and VSCode in place:
- Install Remote-Containers extension in VSCode
- Run Remote-Containers: Clone Repository in Container Volume... through command palette (F1 or Cmd-Shift-P)
- Enter
fluencelabs/devcontainer
- When asked for branch, press enter (main)
- When asked for volume, press enter (unique)
- open Terminal within VSCode (ctrl-`)
Congratulations, you now have a fully functional Fluence development environment.
If you want to install the Fluence Examples, use the VSCode terminal:
./.devcontainer/.aux/download_examples.sh
cd examples
If you encounter any problems or have suggestions, please open an issue or submit a PR. You can also reach out in Discord or Telegram. For more detailed reference resources, see the Fluence documentation and Aqua book.