Browse Source

docs: update development setup cmds

pull/5903/head
Wing-Kam Wong 1 year ago
parent
commit
09a22820c3
  1. 38
      packages/noco-docs/content/en/engineering/development-setup.md

38
packages/noco-docs/content/en/engineering/development-setup.md

@ -7,36 +7,34 @@ menuTitle: "Development Setup"
--- ---
## Clone the repo ## Clone the repo
```
```bash
git clone https://github.com/nocodb/nocodb git clone https://github.com/nocodb/nocodb
cd nocodb/packages
``` ```
## Build SDK ## Install dependencies
``` ```bash
# build nocodb-sdk # run under the root of the project
cd nocodb-sdk pnpm boostrap
pnpm install
pnpm run build
``` ```
## Build Backend ## Start Frontend
``` ```bash
# build backend - runs on port 8080 cd packages/nc-gui
cd ../nocodb pnpm run dev
pnpm install # Or
pnpm run watch:run pnpm --filter=nc-gui run dev
``` ```
## Build Frontend ## Start Backend
``` ```bash
# build frontend - runs on port 3000 cd packages/nocodb
cd ../nc-gui pnpm run start
pnpm install # Or
pnpm run dev pnpm --filter=nocodb run start
``` ```
Any changes made to frontend and backend will be automatically reflected in the browser. Any changes made to frontend and backend will be automatically reflected in the browser.

Loading…
Cancel
Save