gateway/README.md

26 lines
415 B
Markdown
Raw Permalink Normal View History

2020-04-18 23:36:00 -07:00
# Dependencies
- protobuf-compiler
- python-sqlite
# Generate files from .proto file
2020-05-29 12:06:46 -07:00
```
protoc -I=./ --python_out=./ message.proto
```
2020-05-29 12:04:43 -07:00
# Make the config.ini file
Following this format create a config.ini file.
2020-05-29 12:05:56 -07:00
```
2020-05-29 12:04:43 -07:00
[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```