mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 00:36:39 +00:00
docs: update content related to pnpm
This commit is contained in:
@@ -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
|
||||
|
||||

|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user