The CLI tool connects automatically to Qlik Sense SASS, if you are creating for QS Enterprise, you will need to make a few changes to connect to your site.
You will need to also generate a Web Integration ID for connection to Qlik SASS. You can read about this here.
You’ll need to have Node >= 10.16 and npm >= 5.6 on your machine.
1$ npm i -g @motor-js/cli
To create your mashup run
1$ motor create
This will give you several prompts in order to customise your mashup and connect it to your Qlik Sense instance.
This will create your selected mashup template 🎉.1$ motor create23What name do you want to give your app (should be in kebab case format: `your-app-name`)? my-mashup45Please select your React framework6> create-react-app78Please select your Motor template9> Solar1011Please select your Qlik deployment type12> Qlik Sense SASS1314Please enter your tenant name (e.g. motor.eu.qlikcloud.com): .....1516Please enter your application id: .....1718Please enter your web integration id: ....1920$ cd my-mashup21$ yarn install22$ yarn start
Finding errors in your created code? Check out the next section which could help!