From cc6bf45d5f32d0d03cca9817195970f3fa22f98f Mon Sep 17 00:00:00 2001 From: Anoop M D Date: Sun, 22 Jan 2023 02:38:59 +0530 Subject: [PATCH] chore: updated dev docs --- docs/development.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/docs/development.md b/docs/development.md index f35d80a8e..7e9de44ea 100644 --- a/docs/development.md +++ b/docs/development.md @@ -1,6 +1,16 @@ ## development +Bruno is deing developed as a desktop app. You need to load the app by running the nextjs app in one terminal and then run the electron app in another terminal. + +### Dependencies +* NodeJS v18 + +### + ```bash +# use nodejs 18 version +nvm use + # install deps npm i @@ -14,14 +24,17 @@ npm run dev --workspace=packages/bruno-electron npm run build --workspace=packages/bruno-app ``` -## fix +### fix You might encounter a `Unsupported platform` error when you run `npm install`. To fix this, you will need to delete `node_modules` and `package-lock.json` and run `npm install`. This should install all the necessary packages needed to run the app. -# testing +### testing ```bash # bruno-schema npm test --workspace=packages/bruno-schema +# bruno-lang +npm test --workspace=packages/bruno-schema + ```