Skip to content

Commit

Permalink
Updating CLI Documentation (#105)
Browse files Browse the repository at this point in the history
* updating beginner documentation

* Update README.md
  • Loading branch information
lab596 committed Sep 9, 2023
1 parent bdce98e commit 73c6f1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ Two different technologies are used to create both sites:

Both parts are merged to a single directory during the CI process.

Node.js and npm are required to build the documentation.
Node.js(at most v18) and npm are required to build the documentation.

## Build Website & Documentation

* Run ``npm install`` from the ``website-v2`` directory.
* Run ``npm install`` from the ``website-v2`` directory by first running ``cd ./website-v2``.
* Run ``npm run start`` to start the documentation for debugging purposes. The content will be served on ``http://localhost:3000``
* Run ``npm run build`` to build the documentation This will create a folder ``website-v2/build`` that includes all required static files.
* Run ``npm run ds-version NEW_VERSION`` to release a new docs version.
Expand Down
8 changes: 4 additions & 4 deletions docs/06_extend-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pipeline-element
streampipes env --set pipeline-element
streampipes up -d
```
> **NOTE**: use `./streampipes` if you haven't add it to the PATH and sourced it (see section "Run `streampipes` from anywhere?").
> **NOTE**: use `./installer/cli/streampipes` if you haven't add it to the PATH and sourced it (see section "Run `streampipes` from anywhere?").
## Prerequisites
The CLI is basically a wrapper around multiple `docker` and `docker-compose` commands plus some additional sugar.
Expand All @@ -34,9 +34,9 @@ The CLI is basically a wrapper around multiple `docker` and `docker-compose` com
* For Windows Developer: GitBash only


Tested on: **macOS**, **Linux**, **Windows***)
Tested on: (***macOS**, **Linux**, **Windows***)

> **NOTE**: *) If you're using Windows the CLI only works in combination with GitBash - CMD, PowerShell won't work.
> **NOTE**: If you're using Windows the CLI only works in combination with GitBash - CMD, PowerShell won't work.

## CLI commands overview
Expand Down Expand Up @@ -183,7 +183,7 @@ For **macOS**, or **Linux**:
export PATH="/path/to/streampipes-installer/installer/cli:$PATH"
```

For **Windows 10**, e.g. check this [documentation](https://helpdeskgeek.com/windows-10/add-windows-path-environment-variable/).
For **Windows 10** add `installer\cli` to environment variables, e.g. check this [documentation](https://helpdeskgeek.com/windows-10/add-windows-path-environment-variable/).


## Upgrade to new version
Expand Down

0 comments on commit 73c6f1a

Please sign in to comment.