diff --git a/microservices/weather/.gitignore b/microservices/weather/.gitignore index 6985cf1..ae770c1 100644 --- a/microservices/weather/.gitignore +++ b/microservices/weather/.gitignore @@ -12,3 +12,6 @@ Cargo.lock # MSVC Windows builds of rustc generate these, which store debugging information *.pdb + +# App settings +Settings.toml diff --git a/microservices/weather/Settings.toml b/microservices/weather/Settings.toml deleted file mode 100644 index e885a66..0000000 --- a/microservices/weather/Settings.toml +++ /dev/null @@ -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" diff --git a/microservices/weather/readme.md b/microservices/weather/readme.md index d296156..c2607ae 100644 --- a/microservices/weather/readme.md +++ b/microservices/weather/readme.md @@ -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" +```