|
|
## Preparation
|
|
|
1. Run "npm i" in your gp-pos-ui project.
|
|
|
2. Run "npm run bl:all" in your gp-pos-ui project.
|
|
|
|
|
|
## Publishing
|
|
|
1. in gp-pos-devtools, run "npm run publish:layout"
|
|
|
2. Choose the server to publish to:
|
|
|
1. dev.gaapunity.app is for the preview / testing builds
|
|
|
2. gaapunity.app is for the live / release candidates
|
|
|
3. Username: admin / pass
|
|
|
4. Choose the Layout type (UNIT_LAYOUT for POS, KDS_LAYOUT for KDS)
|
|
|
5. Choose whether you want to create, update or delete a layout.
|
|
|
6. Choose "global"
|
|
|
7. Enter the path to the layout file. (Fullname of layout you want to publish)
|
|
|
1. The layout files for POS can be found in ```/gp-pos-devtools/plugin-bundle-scripts/batch-publish/layouts/main```
|
|
|
2. The layout files for KDS can be found in ```/gp-pos-devtools/plugin-bundle-scripts/batch-publish/layouts/kds```
|
|
|
8. Give it a descriptive name:
|
|
|
- If it is for testing/preview, please use the format: <jobnr>-<jobtitle>-<subtype>
|
|
|
- eg. 1066-overlay-bump-KDS
|
|
|
- eg. 1066-overlay-bump-Compact_AutoPrint
|
|
|
- If it is for release candidate, please use the format: RC<Number> SubType
|
|
|
- eg. RC5 Standard, RC5 Compact, RC5 Standard AutoPrint, RC5 Compact AutoPrint, RC5 KDS
|
|
|
9. Give it the starting version nr (1.0)
|
|
|
|
|
|
|