Browse Source

docs : development setup page

pull/2553/head
Naveen MR 2 years ago
parent
commit
6f983d1fa7
  1. 48
      packages/noco-docs/content/en/engineering/development-setup.md
  2. 10
      packages/noco-docs/content/en/engineering/timely-build.md

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

@ -6,20 +6,34 @@ category: "Engineering"
menuTitle: "Development setup"
---
We use ``Lerna`` to manage multi-packages. We have the following [packages](https://github.com/nocodb/nocodb/tree/master/packages).
- ``packages/nc-cli`` : A CLI to create NocoDB app.
- ``packages/nocodb-sdk``: API client sdk of nocodb.
- ``packages/nc-gui``: NocoDB Frontend.
- ``packages/nc-lib-gui``: The build version of ``nc-gui`` which will be used in ``packages/nocodb``.
- ``packages/nc-plugin``: Plugin template.
- ``packages/noco-blog``: NocoDB Blog which will be auto-released to [nocodb/noco-blog](https://github.com/nocodb/noco-blog).
- ``packages/noco-docs``: NocoDB Documentation which will be auto-released to [nocodb/noco-docs](https://github.com/nocodb/noco-docs).
- ``packages/nocodb``: NocoDB Backend, hosted in [NPM](https://www.npmjs.com/package/nocodb).
### Clone the repo
```
git clone https://github.com/nocodb/nocodb
cd nocodb/packages
```
### Build SDK
```
# build nocodb-sdk
cd nocodb-sdk
npm install
npm run build
```
### Build Backend
```
# build backend - runs on port 8080
cd ../nocodb
npm install
npm run watch:run
```
### Build Frontend
```
# 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.

10
packages/noco-docs/content/en/engineering/timely-build.md

@ -1,19 +1,19 @@
---
title: "Daily builds explained"
description: "Daily builds explained"
title: "Build on pull requests"
description: "Build on pull requests"
position: 3250
category: "Engineering"
menuTitle: "Daily builds explained"
menuTitle: "Build on pull requests"
---
NocoDB provides timely build versions on Docker and Executables by compiling our source code and packaging as a deliverable so that it can
NocoDB creates docker and binaries for each PR.
This is to
- reduce pull request cycle time
- allow issue reporters / reviewers to verify the fix without setting up their local machines
## Docker
When a non-draft Pull Request is created, reopened or synchronized, a timely build for Docker would be triggered for the changes only included in the following paths.
- `packages/nocodb-sdk/**`

Loading…
Cancel
Save