Software Product Line JavaScript Derivation Engine
- Node (> v16.14.2)
In the local folder/project: npm install spl-js-engine [--save-dev]
Global installation: npm install spl-js-engine --location=global
Running it: npx spl-js-engine help
git clone https://github.com/AlexCortinas/spl-js-engine.git: Clone the reponpm install: Installation.npm test: Run all test (won't work on Windows without WSL).npm run prepare: Set husky git hooks (linting).[sudo] npm link: Globally link the client sospl-js-enginecan be run anywhere.npx spl-js-engine help: Usage page.
Check the wiki.
A simple web-based calculator made with Spring Boot and Angular
Generation of the product:
cd examples/MyCalculator
[npx] spl-js-engine --featureModel model.json \
--product product.json \
--config config.json \
--extra extra.js \
--code code \
--output output
[--verbose]Running the generated product:
cd output
npm install
mvn spring-boot:run
# open http://localhost:8080/ on any web browser