1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/aeneria_ynh.git synced 2024-09-03 18:06:15 +02:00

Merge pull request #3 from YunoHost-Apps/testing

Testing
This commit is contained in:
Simon MELLERIN 2021-01-06 19:23:12 +01:00 committed by GitHub
commit 373cdd53e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 15 deletions

View file

@ -1,7 +1,7 @@
# æ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)
[![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.
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
* Analyse energy consumption throw weather data
**Shipped version:** 1.0.4
**Shipped version:** 1.1.1
## Screenshots

View file

@ -1,6 +1,6 @@
###> symfony/framework-bundle ###
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_HOSTS='^localhost|example\.com$'
###< symfony/framework-bundle ###

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://statics.aeneria.com/aeneria-app-1.0.4.tar.gz
SOURCE_SUM=900e165d2992c1349b2ed1fff8fda7ec999b78c70e6a14043800defdb715a91d
SOURCE_URL=https://statics.aeneria.com/aeneria-app-1.1.1.tar.gz
SOURCE_SUM=f4450586b54b797adae06bf89739c6748cd411b064875830e49d42e861fac305
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true

View file

@ -3,10 +3,10 @@
"id": "aeneria",
"packaging_format": 1,
"description": {
"en": "A little dashboard to analyse your electricity 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"
"en": "A little dashboard to analyse your energy consumption data from Linky & weather",
"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",
"license": "AGPL-3.0-or-later",
"maintainer": {

View file

@ -141,16 +141,16 @@ ynh_add_fpm_config --usage=low --footprint=low --package="$extra_php_dependencie
ynh_script_progression --message="Configuring æneria..." --weight=1
# Copy and set aeneria dist configuration
aneria_conf="$final_path/.env"
cp ../conf/.env $aneria_conf
aeneria_conf="$final_path/.env"
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_user" --replace_string="${db_user}" --target_file="$aneria_conf"
ynh_replace_string --match_string="database_password" --replace_string="${db_pwd}" --target_file="$aneria_conf"
ynh_replace_string --match_string="app_secret" --replace_string="${deskey}" --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="$aeneria_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="$aeneria_conf"
# Restrict rights to aeneria user only
chmod 600 "$aneria_conf"
chmod 600 "$aeneria_conf"
#=================================================
# UPGRADE AENERIA