chore: updated dev docs

This commit is contained in:
Anoop M D 2023-01-22 02:38:59 +05:30
parent 8fbb777665
commit cc6bf45d5f

View File

@ -1,6 +1,16 @@
## development ## 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 ```bash
# use nodejs 18 version
nvm use
# install deps # install deps
npm i npm i
@ -14,14 +24,17 @@ npm run dev --workspace=packages/bruno-electron
npm run build --workspace=packages/bruno-app 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. 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 ```bash
# bruno-schema # bruno-schema
npm test --workspace=packages/bruno-schema npm test --workspace=packages/bruno-schema
# bruno-lang
npm test --workspace=packages/bruno-schema
``` ```