Unverified Commit 6482ba23 authored by Dan Jones's avatar Dan Jones
Browse files

docs: use pipenv run instead of pipenv shell

Both work but pipenv shell can have side-effects
parent 7c6c1d16
......@@ -34,8 +34,7 @@ Subsequent requests to the client endpoint return the client_id but not the secr
### Setup
```
pipenv install
pipenv shell
pipenv install
```
### Running
......@@ -46,10 +45,8 @@ pipenv shell
#### API
In a `pipenv shell`
```
python api.py
pipenv run python api.py
```
#### Create some clients
......@@ -58,24 +55,20 @@ python api.py
#### Event bus
In a `pipenv shell`
```
python soar_bus.py
pipenv run python soar_bus.py
```
#### Send / Receive directly
In a `pipenv shell`
```
# Send a message
python client_send.py noc-c2-outbox 'soar.noc.slocum.something' from noc-c2
pipenv run python client_send.py noc-c2-outbox 'soar.noc.slocum.something' from noc-c2
```
```
# Receive messages
python client_read.py noc-sfmc-inbox
pipenv run python client_read.py noc-sfmc-inbox
```
#### Receive via API
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment