|
|
@ -4,30 +4,36 @@ description: "How to set-up your development environment" |
|
|
|
--- |
|
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
## Clone the repo |
|
|
|
## Clone the repo |
|
|
|
|
|
|
|
``` |
|
|
|
```bash |
|
|
|
|
|
|
|
git clone https://github.com/nocodb/nocodb |
|
|
|
git clone https://github.com/nocodb/nocodb |
|
|
|
|
|
|
|
cd nocodb/packages |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
## Install dependencies |
|
|
|
## Build SDK |
|
|
|
|
|
|
|
|
|
|
|
```bash |
|
|
|
``` |
|
|
|
# run from the project root |
|
|
|
# build nocodb-sdk |
|
|
|
pnpm bootstrap |
|
|
|
cd nocodb-sdk |
|
|
|
|
|
|
|
npm install |
|
|
|
|
|
|
|
npm run build |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
## Start Frontend |
|
|
|
## Build Backend |
|
|
|
|
|
|
|
|
|
|
|
```bash |
|
|
|
``` |
|
|
|
# run from the project root |
|
|
|
# build backend - runs on port 8080 |
|
|
|
pnpm start:frontend |
|
|
|
cd ../nocodb |
|
|
|
|
|
|
|
npm install |
|
|
|
|
|
|
|
npm run watch:run |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
## Start Backend |
|
|
|
## Build Frontend |
|
|
|
|
|
|
|
|
|
|
|
```bash |
|
|
|
``` |
|
|
|
# run from the project root |
|
|
|
# build frontend - runs on port 3000 |
|
|
|
pnpm start:backend |
|
|
|
cd ../nc-gui |
|
|
|
|
|
|
|
npm install |
|
|
|
|
|
|
|
npm run dev |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
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. |
|
|
@ -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) |
|
|
|
![Screenshot 2023-05-23 at 8 35 14 PM](https://github.com/nocodb/nocodb/assets/86527202/fe2765fa-5796-4d26-8c12-e71b8226872e) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|