Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Commit

Permalink
Adding usage info to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
axelssonHakan committed Feb 4, 2019
1 parent 1b77689 commit 875bea3
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
*.png binary
*.qvf binary
*.zip binary
*.html text eol=lf
*.css text eol=lf
*.jsx text eol=lf
Expand Down
38 changes: 27 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,41 @@

Gain data model insights quickly during its development and validation phases. This tool is useful when you want to explore your data model for whatever reason; maybe you are creating a complex load script, maybe you want to investigate associations.

![screenshot](./screenshot.png)
![screenshot](./images/screenshot.png)

## Prerequsities
# Usage

* Node.js v9+
* Docker for Mac/Windows

## Get started

Session app with [drugcases.qvf](./data/drugcases.qvf):
For catwalk to work there are two things needed:
1. The UI
2. A Qlik Associative Engine app

## 1. UI
The UI can either be runned locally using
```bash
ACCEPT_EULA=yes/no docker-compose up -d
npm install
npm start
```
Or through the Qlik hosted [catwalk UI](https://catwalk.core.qlik.com)

You may also attach to an existing engine session (make sure that you have already created a session using the same websocket URL + user):
## 2. Qlik Associative Engine
You need to provide catwalk with a WS-URL (web socket URL) to the app.

### Example App
For convenience the is an example app and docker-compose.yml in the catwalk repository
```bash
ENGINE_URL='ws://localhost:9076/app/' npm start
ACCEPT_EULA=yes docker-compose up -d
```
The docker-compose.yml in the repository will expose the Qlik Associative Engine app at:
`ws://localhost:9076/data/drugcases.qvf`

### Qlik Sense Desktop
For connecting to a Qlik Sense Desktop the WS-URL will be:
`ws://localhost:4848/app/<app-name>`

### Qlik Sense Enterprise
The catwalk UI doesn't provide login to the Qlik Sense app but as long as there has been a login to the app in another tab/window the `X-Qlik-Session` cookie is set and catwalk can "reuse" that session. The URL [catwalk.core.qlik.com](https://catwalk.core.qlik.com) has to be white listed in the QMC -> virtual proxy (per virtual proxy being used) as well for the Sense Proxy to allow sessions from catwalk.

![host white list](./images/qmc-whitelist.png)

### Tips :tada:
In the root of the catwalk repository there is a catwalk.zip which is a Qlik Sense extension that will create a link to the Qlik hosted catwalk UI with the current open app.
Binary file added catwalk.zip
Binary file not shown.
Binary file added images/qmc-whitelist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"description": "Get Qlik Associative Engine data model insights.",
"author": "QlikTech International AB",
"license": "MIT",
"engines": {
"node": ">=9.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/qlik-oss/catwalk"
Expand Down

0 comments on commit 875bea3

Please sign in to comment.