2009-12-22 12:14:24 +01:00
|
|
|
+ Check you have "tidy" available from the command line.
|
|
|
|
|
|
|
|
|
|
+ Check you have "/usr/bin/ruby".
|
|
|
|
|
|
|
|
|
|
+ chmod u+x *.sh
|
|
|
|
|
|
|
|
|
|
+ When working with the local application:
|
|
|
|
|
|
|
|
|
|
* [Optional] For clarity: remove "navaldev" database + reload Jetty.
|
|
|
|
|
|
|
|
|
|
* Import criterion types:
|
|
|
|
|
|
2009-12-22 18:48:52 +01:00
|
|
|
- import-criterions-types.sh criterion-types-sample.xml
|
2009-12-22 12:14:24 +01:00
|
|
|
(authenticate with wswriter/wswriter)
|
|
|
|
|
|
|
|
|
|
- Check the returned errors are consistent with the comments in
|
|
|
|
|
criterion-types-sample.xml.
|
|
|
|
|
|
|
|
|
|
* Export criterion types:
|
|
|
|
|
|
2009-12-22 18:48:52 +01:00
|
|
|
- export-criterion-types.sh (authenticate with wsreader/wsreader)
|
2009-12-22 12:14:24 +01:00
|
|
|
|
2009-12-22 19:23:38 +01:00
|
|
|
* Import resources:
|
|
|
|
|
|
|
|
|
|
- import-resources.sh resources-sample.xml
|
|
|
|
|
(authenticate with wswriter/wswriter)
|
|
|
|
|
|
|
|
|
|
- Check the returned errors are consistent with the comments in
|
|
|
|
|
resources-sample.xml.
|
|
|
|
|
|
2009-12-29 18:18:11 +01:00
|
|
|
* Export order elements:
|
|
|
|
|
|
|
|
|
|
- export-order-element.sh ORDER-ELEMENT-CODE (authenticate with
|
|
|
|
|
wsreader/wsreader)
|
|
|
|
|
|
|
|
|
|
* Import orders:
|
|
|
|
|
|
|
|
|
|
- import-order.sh order-sample.xml (authenticate with wswriter/wswriter)
|
|
|
|
|
|
|
|
|
|
* Update orders:
|
|
|
|
|
|
|
|
|
|
- update-order.sh order-update-sample.xml (authenticate with
|
|
|
|
|
wswriter/wswriter)
|
|
|
|
|
|
2009-12-22 12:14:24 +01:00
|
|
|
+ When working with the online demo:
|
|
|
|
|
|
2009-12-22 18:48:52 +01:00
|
|
|
* import-criterions-types.sh --prod criterion-types-sample.xml
|
2009-12-22 12:14:24 +01:00
|
|
|
(authenticate with wswriter/wswriter)
|
|
|
|
|
|
2009-12-22 18:48:52 +01:00
|
|
|
* export-criterion-types.sh --prod (authenticate with wsreader/wsreader)
|
2009-12-22 19:23:38 +01:00
|
|
|
|
|
|
|
|
* import-resources.sh --prod resources-sample.xml
|
|
|
|
|
(authenticate with wswriter/wswriter)
|
2009-12-29 18:18:11 +01:00
|
|
|
|
|
|
|
|
* export-order-element.sh --prod ORDER-ELEMENT-CODE (authenticate with
|
|
|
|
|
wsreader/wsreader)
|
|
|
|
|
|
|
|
|
|
* import-order.sh --prod order-sample.xml (authenticate with
|
|
|
|
|
wswriter/wswriter)
|
|
|
|
|
|
|
|
|
|
* update-order.sh --prod order-update-sample.xml (authenticate with
|
|
|
|
|
wswriter/wswriter)
|