mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
710 B
43 lines
710 B
3 years ago
|
# Setup
|
||
|
|
||
|
#### Setting up dev environment
|
||
|
|
||
|
- Clone `nocodb/nocodb` GitHub repo and checkout to `feat/v2` branch
|
||
|
```sh
|
||
|
git clone https://github.com/nocodb/nc
|
||
|
cd nocodb
|
||
|
```
|
||
|
|
||
|
- Navigate to `nocodb-sdk` package folder, install and build the package
|
||
|
```sh
|
||
|
cd packages/nocodb-sdk
|
||
|
npm install
|
||
|
npm run build
|
||
|
```
|
||
|
|
||
|
#### Running backend
|
||
|
|
||
|
```sh
|
||
|
# Navigate to `nocodb` package and install dependencies
|
||
|
cd packages/nocodb
|
||
|
npm install
|
||
|
|
||
|
# requires sqlite3
|
||
|
|
||
|
npm run watch:run
|
||
|
|
||
|
# if you have mysql on localhost (set its password as password)
|
||
|
# npm run watch:run:mysql
|
||
|
```
|
||
|
|
||
|
#### Running frontend
|
||
|
|
||
|
```sh
|
||
|
# Navigate to `nc-gui` package and install dependencies
|
||
|
cd packages/nc-gui
|
||
|
npm install
|
||
|
npm run dev
|
||
|
```
|
||
|
|
||
|
|