docs: update content related to pnpm

This commit is contained in:
Wing-Kam Wong
2023-08-28 16:01:28 +08:00
parent 4f6bca20be
commit 7bef31e364
6 changed files with 48 additions and 47 deletions

View File

@@ -4,36 +4,34 @@ description: "How to set-up your development environment"
---
## Clone the repo
```
```bash
git clone https://github.com/nocodb/nocodb
cd nocodb/packages
# change directory to the project root
cd nocodb
```
## Build SDK
## Install dependencies
```
# build nocodb-sdk
cd nocodb-sdk
npm install
npm run build
```bash
# run from the project root
pnpm bootstrap
```
## Build Backend
## Start Frontend
```
# build backend - runs on port 8080
cd ../nocodb
npm install
npm run watch:run
```bash
# run from the project root
pnpm start:frontend
# runs on port 3000
```
## Build Frontend
## Start Backend
```
# build frontend - runs on port 3000
cd ../nc-gui
npm install
npm run dev
```bash
# run from the project root
pnpm start:backend
# runs on port 8080
```
Any changes made to frontend and backend will be automatically reflected in the browser.