Skip to content

Commit a4d6422

Browse files
authored
Update configuration.md
1 parent 1c2e635 commit a4d6422

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/configuration.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Configuration
22

3-
Each microservice needs a config file in yaml or json format to work with it. This configuration contain
4-
the Flask configuration of your project and the [Services](services.md).
3+
Each microservice needs a config file in yaml or json format to work with it. This configuration contains
4+
the Flask settings of your project and the [Services](services.md).
55

66
a simple configuration file could be a config.yaml:
77

@@ -43,7 +43,7 @@ This file could contains this keywords:
4343

4444
## pyms block
4545

46-
```pyms```: all subset inside this keywords is the configuration of this library. Each keyword will be a service of our
46+
```pyms```: all subsets inside this keyword are the settings of this library. Each keyword will be a service of our
4747
[Microservice class](ms_class.md). For example, we declare our microservice class as:
4848

4949
```python
@@ -57,14 +57,14 @@ pyms:
5757
requests: true
5858
```
5959
60-
our object `ms` has got a attribute `requests` that is a instance of our service [requests](services.md).
60+
our object `ms` has an attribute `requests` that is a instance of our service [requests](services.md).
6161

6262
## Our microservice block
6363
This part contains all keywords of a [Flask Configuration Handling](http://flask.pocoo.org/docs/1.0/config/) and our
64-
constants of the enviroments (local configuration, staging configuration...). Take care that a Flask configuration needs
65-
the keywords are declared as upper case.
64+
constants of the enviroments (local configuration, staging configuration...). Keep in mind that a Flask configuration needs
65+
the keywords to be declared as uppercase.
6666

67-
The name of this block is defined when you create the object of [Microservice class](ms_class.md). For example,
67+
The name of this block is defined when you create the object of [Microservice class](ms_class.md):
6868

6969
### Example 1
7070
```python

0 commit comments

Comments
 (0)