gateway/README.md
2020-05-29 12:06:46 -07:00

26 lines
415 B
Markdown

# Dependencies
- protobuf-compiler
- python-sqlite
# Generate files from .proto file
```
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```