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,30 +4,36 @@ description: "How to set-up your development environment"
---
## Clone the repo
```bash
```
git clone https://github.com/nocodb/nocodb
cd nocodb/packages
```
## Install dependencies
## Build SDK
```bash
# run from the project root
pnpm bootstrap
```
# build nocodb-sdk
cd nocodb-sdk
npm install
npm run build
```
## Start Frontend
## Build Backend
```bash
# run from the project root
pnpm start:frontend
```
# build backend - runs on port 8080
cd ../nocodb
npm install
npm run watch:run
```
## Start Backend
## Build Frontend
```bash
# run from the project root
pnpm start:backend
```
# build frontend - runs on port 3000
cd ../nc-gui
npm install
npm run dev
```
Any changes made to frontend and backend will be automatically reflected in the browser.
@@ -52,4 +58,3 @@ Double click twice on empty space between `View list` & `Share` button to the le
![Screenshot 2023-05-23 at 8 35 14 PM](https://github.com/nocodb/nocodb/assets/86527202/fe2765fa-5796-4d26-8c12-e71b8226872e)