mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 07:25:15 +00: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>
|
||
|
~~~
|