mirror of
https://github.com/YunoHost-Apps/my_webapp_ynh.git
synced 2024-09-03 19:46:26 +02:00
Merge branch 'testing' into enh-postgresql
This commit is contained in:
commit
cf1e857017
5 changed files with 9 additions and 5 deletions
|
@ -25,7 +25,7 @@ PHP-FPM version can also be selected among `none`, `7.4`, `8.0`, `8.1` and `8.2`
|
||||||
**Once installed, go to the chosen URL to know the user, domain and port you will have to use for the SFTP access.** The password is one you chosen during the installation. Under the Web directory, you will see a `www` folder which contains the public files served by this app. You can put all the files of your custom Web application inside.
|
**Once installed, go to the chosen URL to know the user, domain and port you will have to use for the SFTP access.** The password is one you chosen during the installation. Under the Web directory, you will see a `www` folder which contains the public files served by this app. You can put all the files of your custom Web application inside.
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 1.0~ynh14
|
**Shipped version:** 1.0~ynh15
|
||||||
## Documentation and resources
|
## Documentation and resources
|
||||||
|
|
||||||
* Upstream app code repository: <https://github.com/YunoHost-Apps/my_webapp_ynh>
|
* Upstream app code repository: <https://github.com/YunoHost-Apps/my_webapp_ynh>
|
||||||
|
|
|
@ -25,7 +25,7 @@ La version de PHP-FPM peut aussi être choisie, parmi `none`, `7.4`, `8.0`, `8.1
|
||||||
**Une fois installé, rendez-vous sur l'URL choisie pour connaître l'utilisateur, le domaine et le port que vous devrez utiliser pour l'accès SFTP.** Le mot de passe est celui que vous avez choisi lors de l'installation. Sous le répertoire Web, vous verrez un dossier `www` qui contient les fichiers publics servis par cette application. Vous pouvez mettre tous les fichiers de votre application Web personnalisée à l'intérieur.
|
**Une fois installé, rendez-vous sur l'URL choisie pour connaître l'utilisateur, le domaine et le port que vous devrez utiliser pour l'accès SFTP.** Le mot de passe est celui que vous avez choisi lors de l'installation. Sous le répertoire Web, vous verrez un dossier `www` qui contient les fichiers publics servis par cette application. Vous pouvez mettre tous les fichiers de votre application Web personnalisée à l'intérieur.
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 1.0~ynh14
|
**Version incluse :** 1.0~ynh15
|
||||||
## Documentations et ressources
|
## Documentations et ressources
|
||||||
|
|
||||||
* Dépôt de code officiel de l’app : <https://github.com/YunoHost-Apps/my_webapp_ynh>
|
* Dépôt de code officiel de l’app : <https://github.com/YunoHost-Apps/my_webapp_ynh>
|
||||||
|
|
4
doc/PRE_UPGRADE.d/1.0~ynh15.md
Normal file
4
doc/PRE_UPGRADE.d/1.0~ynh15.md
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
If you experienced issues with the displayed database password before, sorry for the inconvenience!
|
||||||
|
|
||||||
|
- New installations of the app fix the bug.
|
||||||
|
- If you want to keep using your current instance, you can use PhpMyAdmin to change the __APP__ user's password.
|
|
@ -5,7 +5,7 @@ name = "My Webapp"
|
||||||
description.en = "Custom Web app with SFTP access to serve static (HTML, CSS, JS) and PHP files"
|
description.en = "Custom Web app with SFTP access to serve static (HTML, CSS, JS) and PHP files"
|
||||||
description.fr = "Application Web personnalisée avec accès SFTP pour servir des fichiers statiques (HTML, CSS, JS) et PHP"
|
description.fr = "Application Web personnalisée avec accès SFTP pour servir des fichiers statiques (HTML, CSS, JS) et PHP"
|
||||||
|
|
||||||
version = "1.0~ynh14"
|
version = "1.0~ynh15"
|
||||||
|
|
||||||
maintainers = []
|
maintainers = []
|
||||||
|
|
||||||
|
|
|
@ -46,9 +46,9 @@ if [ $database != "none" ]; then
|
||||||
ynh_app_setting_set --app=$app --key=db_pwd --value=$db_pwd
|
ynh_app_setting_set --app=$app --key=db_pwd --value=$db_pwd
|
||||||
|
|
||||||
if [ $database == "mysql" ]; then
|
if [ $database == "mysql" ]; then
|
||||||
ynh_mysql_setup_db --db_user=$db_user --db_name=$db_name
|
ynh_mysql_setup_db --db_user=$db_user --db_name=$db_name --db_pwd=$db_pwd
|
||||||
elif [ $database == "postgresql" ]; then
|
elif [ $database == "postgresql" ]; then
|
||||||
ynh_psql_setup_db --db_user=$db_user --db_name=$db_name
|
ynh_psql_setup_db --db_user=$db_user --db_name=$db_name --db_pwd=$db_pwd
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue