Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 705 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 705 Bytes

Demo project for Piral study

First test following Piral tutorials. It has a main piral instance as my-app and two pilets: - my-pilet: simple tile and a menu registration

  • my-page: registered page, link to page in the menu and connected REST API for consumption

How to run

  • Make sure you have NodeJS 10+ and npm installed:
node -v  # v10.10.0
npm -v   # 6.4.1
  • Install the piral CLI (recommendation is globally, but you can do it inside the pilet without the -g arg)
npm i piral-cli -g
  • Go to pilet folder my-page/ and install the dependencies
cd my-page/ && npm i
  • To run and test the piral instance, run as debug
piral debug