updated readme
This commit is contained in:
parent
398f5f18ed
commit
e42aa4cc76
21
README.md
21
README.md
@ -1,16 +1,23 @@
|
|||||||
# Workflow Visualiser
|
# Workflow Visualiser
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
You need to host a local http server for providing the definition files. Please create a dedicated directory @ `localhost` for that purpose.
|
|
||||||
### Prerequisites
|
### Prerequisites
|
||||||
|
#### Data
|
||||||
|
|
||||||
First, you need to generate the visualisation data:
|
First, you need to generate the visualisation data:
|
||||||
|
|
||||||
```
|
```sh
|
||||||
cabal run workflow-visualiser -- --all <path-to-source-yaml-directory> <directory-of-http-server>
|
$ cabal run workflow-visualiser -- --all <path-to-source-yaml-directory> <directory-of-http-server>
|
||||||
```
|
```
|
||||||
|
|
||||||
Afterwards you can run your server and listen on port `8080`.
|
#### Frontend
|
||||||
### Open Editor
|
You need to install some libraries:
|
||||||
Open `editor.html` in your browser and select the desired workflow via the file menu.
|
```sh
|
||||||
|
$ npm install
|
||||||
|
```
|
||||||
|
|
||||||
|
### Run
|
||||||
|
Run the following command. This will generate a Webpack bundle from the Typescript source, launch a local http server and open the application in your browser:
|
||||||
|
```sh
|
||||||
|
$ npm start
|
||||||
|
```
|
||||||
Loading…
Reference in New Issue
Block a user