Skip to content

Commit

Permalink
Change script name to aca-py
Browse files Browse the repository at this point in the history
Signed-off-by: Nicholas Rempel <[email protected]>
  • Loading branch information
nrempel committed Jul 4, 2019
1 parent 71a0629 commit 4c980cf
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions DevReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,20 @@ To put ACA-Py through its paces at the command line, checkout our [demos](docs/G

## Running

After installing the PyPi package, the executable `acagent` should be available in your PATH.
After installing the PyPi package, the executable `aca-py` should be available in your PATH.

Find out more about the available command line parameters by running:

```bash
acagent --help
aca-py --help
```

Currently you must specify at least one _inbound_ and one _outbound_ transport.

For example:

```bash
acagent --inbound-transport http 0.0.0.0 8000 \
aca-py --inbound-transport http 0.0.0.0 8000 \
--inbound-transport http 0.0.0.0 8001 \
--inbound-transport ws 0.0.0.0 8002 \
--outbound-transport ws \
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Note that Alice and Faber will each use 5 ports, e.g. if you run ```python faber

To create the Alice/Faber wallets using postgres storage, just add the "--postgres" option when running the script.

These scripts implement the controller and run the agent as a sub-process (see the documentation for `acagent`). The controller publishes a rest service to receive web hook callbacks from their agent.
These scripts implement the controller and run the agent as a sub-process (see the documentation for `aca-py`). The controller publishes a rest service to receive web hook callbacks from their agent.

Refer to the [Follow The Script](#follow-the-script) section below for further instructions.

Expand Down
2 changes: 1 addition & 1 deletion demo/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def _process(self, args, env, loop):
return proc

def get_process_args(self, bin_path: str = None):
cmd_path = "acagent"
cmd_path = "aca-py"
if bin_path is None:
bin_path = DEFAULT_BIN_PATH
if bin_path:
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.run
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ ADD setup.py ./

RUN pip3 install --no-cache-dir -e .

ENTRYPOINT ["/bin/bash", "-c", "acagent \"$@\"", "--"]
ENTRYPOINT ["/bin/bash", "-c", "aca-py \"$@\"", "--"]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ def parse_requirements(filename):
include_package_data=True,
install_requires=parse_requirements("requirements.txt"),
python_requires=">=3.6.3",
scripts=["bin/acagent"],
scripts=["bin/aca-py"],
)

0 comments on commit 4c980cf

Please sign in to comment.