mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
improve demo tasks, add a live server and update readme
This commit is contained in:
@@ -2,17 +2,37 @@
|
||||
|
||||
This is a POC, not at all production ready code!!!
|
||||
|
||||
## Installation
|
||||
|
||||
```
|
||||
npm install
|
||||
```
|
||||
|
||||
## Tests
|
||||
|
||||
```
|
||||
npm run test
|
||||
npm run test:watch
|
||||
|
||||
```
|
||||
## Build code bundles
|
||||
|
||||
```
|
||||
npm run bundle:core
|
||||
npm run bundle:core:watch
|
||||
```
|
||||
|
||||
## Demo page
|
||||
|
||||
npm run demo
|
||||
There are three commands that can be used to play with the demo application:
|
||||
|
||||
```
|
||||
npm run demo:build
|
||||
npm run demo:watch
|
||||
npm run demo:serve
|
||||
```
|
||||
|
||||
- *build* prepare a folder with all the static files compiled. It is located in
|
||||
dist/demo
|
||||
- *watch* recompile the typescript files as soon as they are changed
|
||||
- *serve* starts a live-server pointing to the dist/demo (which will reload the
|
||||
page whenever the files are changed)
|
||||
Reference in New Issue
Block a user