mirror of
https://github.com/YunoHost-Apps/aeneria_ynh.git
synced 2024-09-03 18:06:15 +02:00
commit
373cdd53e6
5 changed files with 15 additions and 15 deletions
|
@ -1,7 +1,7 @@
|
||||||
# æneria for YunoHost
|
# æneria for YunoHost
|
||||||
|
|
||||||
[![Integration level](https://dash.yunohost.org/integration/aeneria.svg)](https://dash.yunohost.org/appci/app/aeneria) ![](https://ci-apps.yunohost.org/ci/badges/aeneria.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/aeneria.maintain.svg)
|
[![Integration level](https://dash.yunohost.org/integration/aeneria.svg)](https://dash.yunohost.org/appci/app/aeneria) ![](https://ci-apps.yunohost.org/ci/badges/aeneria.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/aeneria.maintain.svg)
|
||||||
[![Install æneria with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=aeneria)
|
[![Install æneria with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=aeneria)
|
||||||
|
|
||||||
> *This package allows you to install æeneria quickly and simply on a YunoHost server.
|
> *This package allows you to install æeneria quickly and simply on a YunoHost server.
|
||||||
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
|
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
|
||||||
|
@ -12,7 +12,7 @@ The idea of [æneria](https://gitlab.com/aeneria/aeneria-app) is to display ener
|
||||||
* Better understand our own energy consumption
|
* Better understand our own energy consumption
|
||||||
* Analyse energy consumption throw weather data
|
* Analyse energy consumption throw weather data
|
||||||
|
|
||||||
**Shipped version:** 1.0.4
|
**Shipped version:** 1.1.1
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
###> symfony/framework-bundle ###
|
###> symfony/framework-bundle ###
|
||||||
APP_ENV=prod
|
APP_ENV=prod
|
||||||
APP_SECRET=app_secret_you_should_change_this_value
|
APP_SECRET=app_secret
|
||||||
#TRUSTED_PROXIES=127.0.0.1,127.0.0.2
|
#TRUSTED_PROXIES=127.0.0.1,127.0.0.2
|
||||||
#TRUSTED_HOSTS='^localhost|example\.com$'
|
#TRUSTED_HOSTS='^localhost|example\.com$'
|
||||||
###< symfony/framework-bundle ###
|
###< symfony/framework-bundle ###
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://statics.aeneria.com/aeneria-app-1.0.4.tar.gz
|
SOURCE_URL=https://statics.aeneria.com/aeneria-app-1.1.1.tar.gz
|
||||||
SOURCE_SUM=900e165d2992c1349b2ed1fff8fda7ec999b78c70e6a14043800defdb715a91d
|
SOURCE_SUM=f4450586b54b797adae06bf89739c6748cd411b064875830e49d42e861fac305
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
"id": "aeneria",
|
"id": "aeneria",
|
||||||
"packaging_format": 1,
|
"packaging_format": 1,
|
||||||
"description": {
|
"description": {
|
||||||
"en": "A little dashboard to analyse your electricity consumption data from Linky & weather",
|
"en": "A little dashboard to analyse your energy consumption data from Linky & weather",
|
||||||
"fr": "Un petit tableau de bord pour analyser votre consomation d'électricité à partir des données d'un Linky et de la météo"
|
"fr": "Un petit tableau de bord pour analyser votre consomation d'énergie à partir des données d'un Linky et de la météo"
|
||||||
},
|
},
|
||||||
"version": "1.0.4~ynh1",
|
"version": "1.1.1~ynh1",
|
||||||
"url": "https://gitlab.com/aeneria/aeneria-app",
|
"url": "https://gitlab.com/aeneria/aeneria-app",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
|
@ -141,16 +141,16 @@ ynh_add_fpm_config --usage=low --footprint=low --package="$extra_php_dependencie
|
||||||
ynh_script_progression --message="Configuring æneria..." --weight=1
|
ynh_script_progression --message="Configuring æneria..." --weight=1
|
||||||
|
|
||||||
# Copy and set aeneria dist configuration
|
# Copy and set aeneria dist configuration
|
||||||
aneria_conf="$final_path/.env"
|
aeneria_conf="$final_path/.env"
|
||||||
cp ../conf/.env $aneria_conf
|
cp ../conf/.env $aeneria_conf
|
||||||
|
|
||||||
ynh_replace_string --match_string="database_name" --replace_string="${db_name}" --target_file="$aneria_conf"
|
ynh_replace_string --match_string="database_name" --replace_string="${db_name}" --target_file="$aeneria_conf"
|
||||||
ynh_replace_string --match_string="database_user" --replace_string="${db_user}" --target_file="$aneria_conf"
|
ynh_replace_string --match_string="database_user" --replace_string="${db_user}" --target_file="$aeneria_conf"
|
||||||
ynh_replace_string --match_string="database_password" --replace_string="${db_pwd}" --target_file="$aneria_conf"
|
ynh_replace_string --match_string="database_password" --replace_string="${db_pwd}" --target_file="$aeneria_conf"
|
||||||
ynh_replace_string --match_string="app_secret" --replace_string="${deskey}" --target_file="$aneria_conf"
|
ynh_replace_string --match_string="app_secret" --replace_string="${deskey}" --target_file="$aeneria_conf"
|
||||||
|
|
||||||
# Restrict rights to aeneria user only
|
# Restrict rights to aeneria user only
|
||||||
chmod 600 "$aneria_conf"
|
chmod 600 "$aeneria_conf"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# UPGRADE AENERIA
|
# UPGRADE AENERIA
|
||||||
|
|
Loading…
Reference in a new issue