Removed Settings.toml
This commit is contained in:
3
microservices/weather/.gitignore
vendored
3
microservices/weather/.gitignore
vendored
@@ -12,3 +12,6 @@ Cargo.lock
|
||||
|
||||
# MSVC Windows builds of rustc generate these, which store debugging information
|
||||
*.pdb
|
||||
|
||||
# App settings
|
||||
Settings.toml
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
weather_api_base_url="https://api.openweathermap.org/data/2.5/weather"
|
||||
weather_api_key="4ce897f7ce77f84919fd990cc68d9d20"
|
||||
influx_db_base_url="http://jumpbox.io:8092"
|
||||
influx_db_token="R1BGVaxWrX_ySaovweRz6ZTBDvHa5omQkricJGmn3PrI44jpfU7411PSmHOCjGcNR7OcBjmtE9gA62boHHXoKg=="
|
||||
latitude="50.854019"
|
||||
longitude="3.355230"
|
||||
@@ -1,3 +1,16 @@
|
||||
# Weather microservice
|
||||
|
||||
This microservice will control all weather related actions around the house.
|
||||
|
||||
## Test locally
|
||||
|
||||
Add `Settings.toml` with following content:
|
||||
|
||||
```toml
|
||||
weather_api_base_url="xxx"
|
||||
weather_api_key="xxx"
|
||||
influx_db_base_url="xxx"
|
||||
influx_db_token="xxx"
|
||||
latitude="xxx"
|
||||
longitude="xxx"
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user