-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds really basic setup details and details about dev enviroment
- Loading branch information
Andrew Morris
committed
Aug 18, 2020
1 parent
d0e2a2e
commit 69ce964
Showing
4 changed files
with
258 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,26 @@ | ||
# mycroft-cl | ||
A new mycroft command line interface, that is ment to be decoupled from any one particular mycroft instance. | ||
|
||
Dependencies: | ||
pip install websocket | ||
[a Mycroft instace](https://github.com/MycroftAI/mycroft-core) | ||
|
||
Getting started useing this tool: | ||
```git clone https://github.com/FruityWelsh/mycroft-cl.git``` | ||
```cd mycroft-cl``` | ||
if you are running this for a local mycroft instance then you | ||
can run it with no added steps for example: | ||
```./mycroft_cl.py speak hello``` | ||
|
||
Otherwise you can change the IP target address and port by change the ```MYCROFT_ADDR``` and ```MYCROFT_PORT``` env vars. | ||
This can be done prior to use like: | ||
```export MYCROFT_ADDR='localhost'``` | ||
```export MYCROFT_PORT='8181'``` | ||
|
||
or by adding these lines (but with your new values) to your ```${HOME}/.profile``` config file. | ||
|
||
|
||
Setup for development: | ||
I currently use poetry for depency managment. | ||
I also use black and mypy for code linting and include pre-commit hooks for them. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.