This guide is only for Linux (Mac should be similiar), windows i never try so cant say.
- NodeJs: NodeJS very much straigt forward, i use the lts version
- VSCode: VisualStudio Code
- Access to Qlik Sense Enterprise for Windows or with Docker to Qlik Core
# ssh
git clone [email protected]:PLH-Coding/vsqlik.git
# or https
git clone https://github.com/PLH-Coding/vsqlik.git
# install dependencies
cd vsqlik/src && npm i
sometimes it is helpfull to share the extension from development state (next release), this could be done with running, and then share the vsix file which can imported into visual studio code.
cd vsqlik/src
npm ci # ensure we are up to date
npm run vsce:package
Vscode Qlik uses angular 9 for the webview, to start extension for development you have to build this app one time.
npm run webview:build
If you want made changes on the webview itself run following command, this will run a local dev server on port 4200.
npm run webview:dev
cd ~
mkdir qlik-docker
# everyone can read / write
sudo chmod 0777 -R qlik-docker
latest qlik engine version could be found here:
https://hub.docker.com/r/qlikcore/engine/tags
# start container (download if not allready exists) and map to: 127.0.0.1:9076
# if we create apps / or have apps we will find them in our directory ~/qlik-docker
docker run --volume ~/qlik-docker:/home/engine/Qlik/Sense -p 127.0.0.1:9076:9076 qlikcore/engine:[QLIK_ENGINE_DOCKER_VERSION] -S AcceptEULA=yes -S BuildAppCacheAtStartup=1
This extension is in development mode, so the only way to test this currently is running this extension in debug mode directly in vscode. To do this you need open vscode directly in the vsqlik directory or open the directory in vscode and press the key "F5" to start debug mode. This should open a new window.
Important ! Ensure you dont have multiple Directories open since this would create a multi root workspace This will currently only work if you have the root directory openend
cd ~/vsqlik
code .