rosaenlg-boilerplate
v3.3.0
Published
boilerplate for RosaeNLG project
Downloads
6
Readme
RosaeNLG boilerplate
Start your project
For real time debug and rendering:
- open a terminal in VSCode
- use
npx rosaenlg-cli -l en_US -w templates\phoneCli.pug
Gulp/CI:
gulp init
to createdist
foldergulp texts
to generate the texts indist
- testing:
mocha
to run the tests- use
npm run test
orgulp test
to run the tests and generate a nice report inmochawesome-report
folder gulp nonreg
to generate the non regression reference test file
- optional: use
gulp package
to package your templates for usage in a RosaeNLG server
Upload an existing project
- put the JSON file containing your packaged template at the root folder, named
packaged.json
gulp unpack
will delete the content of templates folder and unpack your packaged template in it