update readme
This commit is contained in:
parent
d3aae7368c
commit
24274e3f3a
21
README.md
21
README.md
|
@ -6,3 +6,24 @@
|
||||||
# Generate files from .proto file
|
# Generate files from .proto file
|
||||||
|
|
||||||
```protoc -I=./ --python_out=./ message.proto```
|
```protoc -I=./ --python_out=./ message.proto```
|
||||||
|
|
||||||
|
|
||||||
|
# Make the config.ini file
|
||||||
|
|
||||||
|
Following this format create a config.ini file.
|
||||||
|
|
||||||
|
|
||||||
|
```ini
|
||||||
|
|
||||||
|
[Default]
|
||||||
|
AppId=<redacted>
|
||||||
|
AccessKey=ttn-account-v2.<redacted>
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
# Run the Gateway
|
||||||
|
|
||||||
|
After generating the protobuf files and making a config.ini file one can simply run:
|
||||||
|
|
||||||
|
```python3 main.py```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user