Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Communications Backbone System
communications-backbone
Commits
6482ba23
Unverified
Commit
6482ba23
authored
2 years ago
by
Dan Jones
Browse files
Options
Download
Email Patches
Plain Diff
docs: use pipenv run instead of pipenv shell
Both work but pipenv shell can have side-effects
parent
7c6c1d16
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
12 deletions
+5
-12
README.md
README.md
+5
-12
No files found.
README.md
View file @
6482ba23
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment