Skip to content

service can't be started due to ModuleNotFoundError #1

Open
@sergey-vin

Description

@sergey-vin

to fix it, please apply the patch:

diff --git a/README.md b/README.md
index 1fc9186..5ea7901 100644
--- a/README.md
+++ b/README.md
@@ -143,9 +143,9 @@ Web services return HTML back. In address book microservice, API data interface
 But first, let's run the server and test it:

 ``` bash
-$ python3 addrservice/tornado/server.py --port 8080 --config ./configs/addressbook-local.yaml --debug
+$ python3 -m addrservice.tornado.server --port 8080 --config ./configs/addressbook-local.yaml --debug

-Starting Address Book on port 8080 ...
+2020-06-20 13:54:19,430 addrservice INFO : message="STARTING" service_name="Address Book" port=8080...
 ```

 Also run lint, typecheck and test to verify nothing is broken, and also code coverage:

other places where python3 addrservice/tornado/server.py is used, also have to be corrected

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions