Skip to content

Commit

Permalink
removed .env, added .env to .gitignore, added docker setup environmen…
Browse files Browse the repository at this point in the history
…t variables to .env.example (#94)

* Update .env.example

* Update .gitignore

* Delete .env

* Update .env.example

* added context to the env example
  • Loading branch information
aryanbhosale authored Apr 2, 2024
1 parent eebf552 commit 05ae555
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
5 changes: 0 additions & 5 deletions .env

This file was deleted.

19 changes: 18 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# User needs to add their Enphase API details
ENPHASE_API_KEY = 'user_enphase_api_key'
ENPHASE_USER_ID = 'user_enphase_user_id'
ENPHASE_USER_ID = 'user_enphase_user_id'

# This section is for OpenMeteo setup

# Docker is used to fetch and store OpenMeteo's open data, targeting temperature_2m, precipitation,
# and cloud_cover from the ncep_gfs013 dataset.
# It is being managed through a Docker setup, detailed in the following variables and
# docker-compose files, which automates data retrieval for the past three days and continuously checks for updates.

# The following variable can be altered to allow the modification of the dataset and variables.
# The docker-compose file pulls the data for the past 3 days and downloads the data in the docker volume,
# which can be accessed through an API endpoint.

OPEN_METEO_MODELS = models separated by commas e.g: ncep_gfs013
OPEN_METEO_VARIABLES = variables separated by commas e.g: temperature_2m,precipitation,cloud_cover
OPEN_METEO_MAX_AGE_DAYS = integer e.g: 3
OPEN_METEO_REPEAT_INTERVAL = integer e.g: 5
OPEN_METEO_CONCURRENT = integer e.g: 4
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ scripts/datapipes/test.nc
scripts/datapipes/UK_PV_metadata.csv
scripts/datapipes/nwp_data
quartz_solar_forecast/data
.env

0 comments on commit 05ae555

Please sign in to comment.