docs: engineering section, fix broken links

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
This commit is contained in:
Raju Udava
2023-09-27 13:54:26 +05:30
parent a76e2c140d
commit d979df00b2
20 changed files with 866 additions and 123 deletions

View File

@@ -0,0 +1,50 @@
---
title: "Development Setup"
description: "How to set-up your development environment"
---
## Clone the repo
```bash
git clone https://github.com/nocodb/nocodb
# change directory to the project root
cd nocodb
```
## Install dependencies
```bash
# run from the project root
pnpm i
```
## Start Frontend
```bash
# run from the project root
pnpm start:frontend
# runs on port 3000
```
## Start Backend
```bash
# run from the project root
pnpm start:backend
# runs on port 8080
```
Any changes made to frontend and backend will be automatically reflected in the browser.
## Enabling CI-CD for Draft PR
CI-CD will be triggered on moving a PR from draft state to `Ready for review` state & on pushing changes to `Develop`. To verify CI-CD before requesting for review, add label `trigger-CI` on Draft PR.
## Accessing CI-CD Failure Screenshots
For Playwright tests, screenshots are captured on the tests. These will provide vital clues for debugging possible issues observed in CI-CD. To access screenshots, Open link associated with CI-CD run & click on `Artifacts`
![Screenshot 2022-09-29 at 12 43 37 PM](https://user-images.githubusercontent.com/86527202/192965070-dc04b952-70fb-4197-b4bd-ca7eda066e60.png)