From adac24f7112b8032e6c78d3815855b2d819ded33 Mon Sep 17 00:00:00 2001 From: Ashita Prasad Date: Sun, 3 Nov 2024 05:06:25 +0530 Subject: [PATCH] Update setup_run.md --- doc/dev_guide/setup_run.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/doc/dev_guide/setup_run.md b/doc/dev_guide/setup_run.md index 668b39f3..2d32d2b4 100644 --- a/doc/dev_guide/setup_run.md +++ b/doc/dev_guide/setup_run.md @@ -3,7 +3,29 @@ 1. Fork the project. 2. Create a clone of the forked project on your computer to run it locally. 3. Based on your desktop environment, enable Windows, macOS or Linux for the project. Select the same target device. -4. Run the project by executing the following command: + +#### 4. Setup melos + +As API Dash is a monorepo with multi-package architecture we use [melos](https://pub.dev/packages/melos). + +``` +dart pub global activate melos +``` + +Bootstrap to initialize the workspace, link local packages together and install remaining package dependencies. + +``` +melos bootstrap +``` + +Get all dependencies + +``` +melos pub-get +flutter pub get +``` + +Run the project by executing the following command: ``` flutter run