mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
update readme.md
This commit is contained in:
@@ -8,35 +8,32 @@ This is a POC, not at all production ready code!!!
|
|||||||
npm install
|
npm install
|
||||||
```
|
```
|
||||||
|
|
||||||
## Tests
|
## Main scripts
|
||||||
|
|
||||||
|
### Testing
|
||||||
|
|
||||||
```
|
```
|
||||||
npm run test
|
npm run test
|
||||||
npm run test:watch
|
npm run test:watch
|
||||||
```
|
```
|
||||||
## Build code bundles
|
|
||||||
|
### Building app
|
||||||
|
|
||||||
```
|
```
|
||||||
npm run bundle:core
|
npm run build
|
||||||
npm run bundle:core:watch
|
npm run minify
|
||||||
```
|
```
|
||||||
|
|
||||||
## Demo page
|
These commands will build the app in dist/app, and minify the js bundle
|
||||||
|
|
||||||
There are three main commands that can be used to play with the demo application:
|
### Developping
|
||||||
|
|
||||||
```
|
```
|
||||||
npm run demo:build
|
npm run dev
|
||||||
npm run demo:serve
|
|
||||||
npm run demo:watch
|
|
||||||
```
|
```
|
||||||
|
|
||||||
- *demo:build* prepare a folder with all the static files compiled. It is
|
This will: build the app (without minification), then start a live-server with hot-reloading, and watch the file system to make sure
|
||||||
located in dist/demo
|
that assets are properly rebuilt if necessary, and then reloaded.
|
||||||
- *demo:serve* simply starts a live-server pointing to the dist/demo (which will
|
|
||||||
also reload the page whenever the static files are changed)
|
|
||||||
- *demo:dev* is a single command useful for developping: it will watch the
|
|
||||||
source files, recompile them as needed, starts a live-server.
|
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user