new file: src.dev/api.py new file: src.dev/config.yaml new file: src.dev/cron.py new file: src.dev/log_config.py new file: src.dev/moj_licznik.py new file: src.dev/requirements.txt new file: src.dev/run.py new file: src.dev/run.sh deleted: .idea/workspace.xml modified: repository.yaml modified: src.dev/CHANGELOG.md
10 lines
232 B
Bash
10 lines
232 B
Bash
#!/usr/bin/with-contenv bashio
|
|
|
|
export USERNAME=$(bashio::config 'energa_username')
|
|
export PASSWORD=$(bashio::config 'energa_password')
|
|
export LOGLEVEL=$(bashio::config 'log_level')
|
|
|
|
bashio::log.info "Uruchamiam API"
|
|
python run.py
|
|
|