mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-04 13:18:55 +08:00
30 lines
341 B
Markdown
30 lines
341 B
Markdown
|
|
||
|
Development
|
||
|
----------
|
||
|
|
||
|
### Install Dependencies
|
||
|
|
||
|
~~~shell
|
||
|
# Install dependencies for root project
|
||
|
npm i
|
||
|
|
||
|
# Install dependencies for sub packages via lerna
|
||
|
npm run bootstrap
|
||
|
~~~
|
||
|
|
||
|
### Set Environment Variables
|
||
|
|
||
|
~~~shell
|
||
|
cp .env.example .env
|
||
|
~~~
|
||
|
|
||
|
### Test
|
||
|
|
||
|
~~~
|
||
|
# For all packages
|
||
|
npm test
|
||
|
|
||
|
# For specific package
|
||
|
npm test packages/<name>
|
||
|
~~~
|