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
...@@ -35,7 +35,6 @@ Subsequent requests to the client endpoint return the client_id but not the secr ...@@ -35,7 +35,6 @@ Subsequent requests to the client endpoint return the client_id but not the secr
``` ```
pipenv install pipenv install
pipenv shell
``` ```
### Running ### Running
...@@ -46,10 +45,8 @@ pipenv shell ...@@ -46,10 +45,8 @@ pipenv shell
#### API #### API
In a `pipenv shell`
``` ```
python api.py pipenv run python api.py
``` ```
#### Create some clients #### Create some clients
...@@ -58,24 +55,20 @@ python api.py ...@@ -58,24 +55,20 @@ python api.py
#### Event bus #### Event bus
In a `pipenv shell`
``` ```
python soar_bus.py pipenv run python soar_bus.py
``` ```
#### Send / Receive directly #### Send / Receive directly
In a `pipenv shell`
``` ```
# Send a message # 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 # Receive messages
python client_read.py noc-sfmc-inbox pipenv run python client_read.py noc-sfmc-inbox
``` ```
#### Receive via API #### 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