point README at the build docs in raven
This commit is contained in:
@@ -1,47 +1,35 @@
|
|||||||
# AyaNova client ui
|
# AyaNova client UI
|
||||||
|
|
||||||
## Project setup
|
## Project setup
|
||||||
```
|
|
||||||
First confirm all dependencies are installed as per BUILT-ENVIRONMENT.md doc. They are very specific and in many cases outdated.
|
|
||||||
|
|
||||||
Then clone/checkout repository from GIT
|
1. Install the build tools exactly as listed in `C:\data\code\raven\devdocs\build\BUILD.md`.
|
||||||
|
They are very specific, and in several cases outdated on purpose (Node.js 12.22.9).
|
||||||
|
2. Clone this repository from Gitea into `C:\data\code\raven-client`.
|
||||||
|
3. Install dependencies:
|
||||||
|
|
||||||
Finally:
|
```
|
||||||
|
cd C:\data\code\raven-client\ayanova
|
||||||
Install frontend dependencies:
|
|
||||||
|
|
||||||
cd c:\data\code\raven-client\ayanova
|
|
||||||
npm ci
|
npm ci
|
||||||
|
```
|
||||||
Note: Use `npm ci` (not `npm install`) to install exact versions from package-lock.json
|
|
||||||
```
|
Use `npm ci`, not `npm install`: it installs the exact versions in `package-lock.json`.
|
||||||
|
|
||||||
|
## Development server with hot reload
|
||||||
|
|
||||||
### Compiles and hot-reloads for development
|
|
||||||
```
|
```
|
||||||
npm run serve
|
npm run serve
|
||||||
```
|
```
|
||||||
|
|
||||||
### Compiles and minifies for production
|
## Production build
|
||||||
|
|
||||||
```
|
```
|
||||||
npm run build
|
npm run build
|
||||||
```
|
```
|
||||||
|
|
||||||
### Run your tests
|
Output goes to `dist\`. The release build copies it into the server's `wwwroot`.
|
||||||
```
|
|
||||||
npm run test
|
## Lint
|
||||||
```
|
|
||||||
|
|
||||||
### Lints and fixes files
|
|
||||||
```
|
```
|
||||||
npm run lint
|
npm run lint
|
||||||
```
|
```
|
||||||
|
|
||||||
### Run your end-to-end tests
|
|
||||||
```
|
|
||||||
npm run test:e2e
|
|
||||||
```
|
|
||||||
|
|
||||||
### Run your unit tests
|
|
||||||
```
|
|
||||||
npm run test:unit
|
|
||||||
```
|
|
||||||
|
|||||||
Reference in New Issue
Block a user