33The class Microservice is the core of all microservices built with PyMS.
44
55
6- You can create a simple microservices like :
6+ You can create a simple microservice such as :
77
88``` python
99from flask import jsonify
@@ -29,9 +29,9 @@ And a config file like this config.yml
2929my-minimal-microservice :
3030 APP_NAME : " Python Microservice"
3131` ` `
32- See [Configuration](configuration.md) section to know how create a configuration file.
32+ Check [Configuration](configuration.md) section to know how to create a configuration file.
3333
34- Each keyworkd in our configuration block, could be accessed in our Microservice object througth the attribute ` config`.
34+ Each keyword in our configuration block, can be accessed in our Microservice object through the attribute ` config`.
3535
3636` ` ` yaml
3737# Config.yml
@@ -61,10 +61,10 @@ print(ms.config.multiplevars.config2)
6161
6262
6363# Looking for Configuration file
64- By default, Microservice class search a config.yml in the same path. You can set a diferent route or set a json file.
64+ By default, Microservice class search a config.yml in the same path. You can set a different route or set a json file.
6565To change this path, define a environment variable `CONFIGMAP_FILE`.
6666
67- This way of search the configuration is useful when you work with Docker and Kubernetes. For example, you can integrate
67+ This way of looking for the configuration is useful when you work with Docker and Kubernetes. For example, you can integrate
6868a configmap of Kubernetes, with this microservice and a deployment with :
6969
7070` ` ` yaml
9292 name: my-microservice-configmap
9393` ` `
9494
95- See more examples in [this Github page](https://github.com/python-microservices/pyms/tree/master/examples)
95+ Check more examples in [this Github page](https://github.com/python-microservices/pyms/tree/master/examples)
0 commit comments