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 #5 from YunoHost-Apps/testing

Testing
This commit is contained in:
Simon MELLERIN 2021-01-16 17:56:35 +01:00 committed by GitHub
commit 45f0c70e9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 18 additions and 18 deletions

View file

@ -629,8 +629,8 @@ to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found. the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.> aeneria
Copyright (C) <year> <name of author> Copyright (C) 2021 Simon Mellerin
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by it under the terms of the GNU Affero General Public License as published by

View file

@ -12,7 +12,7 @@ The idea of [æneria](https://aeneria.com) is to display energy consumption and
* 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.1.1 **Shipped version:** 1.1.2
## Screenshots ## Screenshots

View file

@ -1 +1 @@
* 1 * * * #USER# php7.3 #DESTDIR#/bin/console aeneria:fetch-data */20 * * * * #USER# php7.3 #DESTDIR#/bin/console aeneria:fetch-data

View file

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

View file

@ -1,12 +1,12 @@
{ {
"name": "æneria", "name": "aeneria",
"id": "aeneria", "id": "aeneria",
"packaging_format": 1, "packaging_format": 1,
"description": { "description": {
"en": "A little dashboard to analyse your energy 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'énergie à 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.1.1~ynh1", "version": "1.1.2~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": {
@ -28,8 +28,8 @@
"name": "domain", "name": "domain",
"type": "domain", "type": "domain",
"ask": { "ask": {
"en": "Choose a domain for æneria", "en": "Choose a domain for aeneria",
"fr": "Choisissez un domaine pour æneria" "fr": "Choisissez un domaine pour aeneria"
}, },
"example": "domain.org" "example": "domain.org"
}, },
@ -37,8 +37,8 @@
"name": "path", "name": "path",
"type": "path", "type": "path",
"ask": { "ask": {
"en": "Choose a path for æneria", "en": "Choose a path for aeneria",
"fr": "Choisissez un chemin pour æneria" "fr": "Choisissez un chemin pour aeneria"
}, },
"example": "/aeneria", "example": "/aeneria",
"default": "/aeneria" "default": "/aeneria"
@ -60,8 +60,8 @@
"name": "admin", "name": "admin",
"type": "user", "type": "user",
"ask": { "ask": {
"en": "Choose the æneria administrator", "en": "Choose the aeneria administrator",
"fr": "Choisissez l'administrateur de æneria" "fr": "Choisissez l'administrateur de aeneria"
}, },
"example": "homer" "example": "homer"
} }

View file

@ -112,7 +112,7 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#================================================= #=================================================
# CONFIGURE AENERIA # CONFIGURE AENERIA
#================================================= #=================================================
ynh_script_progression --message="Configuring æneria..." --weight=1 ynh_script_progression --message="Configuring aeneria..." --weight=1
aeneria_conf="$final_path/.env" aeneria_conf="$final_path/.env"
cp ../conf/.env $aeneria_conf cp ../conf/.env $aeneria_conf
@ -128,7 +128,7 @@ chmod 600 "$aeneria_conf"
#================================================= #=================================================
# INSTALL AENERIA # INSTALL AENERIA
#================================================= #=================================================
ynh_script_progression --message="Installing æneria..." --weight=1 ynh_script_progression --message="Installing aeneria..." --weight=1
# Set permissions to app files # Set permissions to app files
chown -R $app: $final_path chown -R $app: $final_path

View file

@ -138,7 +138,7 @@ ynh_add_fpm_config --usage=low --footprint=low --package="$extra_php_dependencie
#================================================= #=================================================
# CONFIGURE AENERIA # CONFIGURE AENERIA
#================================================= #=================================================
ynh_script_progression --message="Configuring æneria..." --weight=1 ynh_script_progression --message="Configuring aeneria..." --weight=1
# Copy and set aeneria dist configuration # Copy and set aeneria dist configuration
aeneria_conf="$final_path/.env" aeneria_conf="$final_path/.env"
@ -155,7 +155,7 @@ chmod 600 "$aeneria_conf"
#================================================= #=================================================
# UPGRADE AENERIA # UPGRADE AENERIA
#================================================= #=================================================
ynh_script_progression --message="Upgrading æneria..." --weight=1 ynh_script_progression --message="Upgrading aeneria..." --weight=1
# Set permissions on app files # Set permissions on app files
chown -R $app: $final_path chown -R $app: $final_path