This project provides necesssary development tools required to work with React Diagrams. The example included herein is from the demo project.
- Visual Studio Code
- Visual Studio Code plugin Remote Containers
- Docker with access to internet.
- Firefox Browser installed on the host.
Tool | Version Used |
---|---|
Operating System | Linux Mint 20.1 (Based on Ubuntu 20.04/focal) |
Docker | 20.10.2, build 2291f61 |
- Ensure pre-requisites are met,
- Clone this repository,
- Open Visual Studio Code, Run the Remote-Containers:
Open Folder in Container...
command and select the folder where (the master branch of) this repository is cloned.- See this link for more help.
- VSCode will attempt to build the container based on the provided Dockerfile automatically.
- VSCode will then proceed to install all dependencies listed in the
package.json
file placed at the root of the project. - On success,
Ctrl+Shift+B
will bring a menu of possible build choices that may be selected from.
Included in the development environment are:
- Linux Based Docker environment
- Packages as listed in
package.json
- VSCode based build shortcuts, invoked using
Ctrl+Shift+B
and then making appropriate choice. - Preconfigured project settings
- Preconfigured debug settings which requires firefox browser available on the host machine.
The user can change the development configuration to switch from Firefox browser to Chrome.
If typescript fails to compile, please add the fix as suggested in the following screenshots: