Merge branch 'develop' into pr/weedySeaDragon/3814

* develop:
  Rerun
  Support for development in Docker
This commit is contained in:
Sidharth Vinod
2023-06-15 12:08:30 +05:30
4 changed files with 67 additions and 0 deletions

View File

@@ -14,14 +14,30 @@ Please read in detail about how to contribute documentation and code on the [Mer
## Development Installation
If you don't have direct access to push to mermaid repositories, make a fork first. Then clone. Or clone directly from mermaid-js:
```bash
git clone git@github.com:mermaid-js/mermaid.git
cd mermaid
```
Install required packages:
```bash
# npx is required for first install as volta support for pnpm is not added yet.
npx pnpm install
pnpm test
```
### Docker
If you are using docker and docker-compose, you have self-documented `run` bash script, which is a convenient alias for docker-compose commands:
```bash
./run install # npx pnpm install
./run test # pnpm test
```
## Testing
```bash