Removed Settings.toml

This commit is contained in:
2023-05-07 12:02:16 +02:00
parent f1698db0e2
commit 02c0673e64
3 changed files with 16 additions and 6 deletions

View File

@@ -12,3 +12,6 @@ Cargo.lock
# MSVC Windows builds of rustc generate these, which store debugging information # MSVC Windows builds of rustc generate these, which store debugging information
*.pdb *.pdb
# App settings
Settings.toml

View File

@@ -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"

View File

@@ -1,3 +1,16 @@
# Weather microservice # Weather microservice
This microservice will control all weather related actions around the house. 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"
```