dcdb21d398
* api/ui 改名为 server/client * 微调 * 继续完善 pages * Fix env file and file mode. (#1) * Fix: ignore .env file and environment variable names. * Fix: correct file mode. * fix: put environment variables together * fix: separate data and ui resourcer * feat: collection loader * feat: redirectTo * feat: fields & actions & views * feat: fields & actions * feat: app & pages & collections... * feat: collections & pages & permissions... * Doc: add readme (#2) * Doc: add README.md. * Util: add .editorconfig. * Fix: use glob ignore option instead of additional checking. (#3) * Fix: typo. (#4) * feat: permissions * feat: getCollection & getView actions * refactor: code cleanup Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
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>
|
|
~~~
|