Compare commits
3 Commits
d3aae7368c
...
001b280936
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
001b280936 | ||
|
|
c8b49be7ff | ||
|
|
24274e3f3a |
19
README.md
19
README.md
@@ -5,4 +5,21 @@
|
|||||||
|
|
||||||
# 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.
|
||||||
|
|
||||||
|
```
|
||||||
|
[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```
|
||||||
|
|||||||
Reference in New Issue
Block a user