1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/coin_ynh.git synced 2024-09-03 18:16:26 +02:00

Merge pull request #11 from YunoHost-Apps/testing

Testing
This commit is contained in:
ljf (zamentur) 2018-11-11 02:03:35 +01:00 committed by GitHub
commit 74f3cedc9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 9 deletions

View file

@ -11,6 +11,3 @@ More information on https://code.ffdn.org/FFDN/coin
``` ```
yunohost app install https://github.com/YunoHost-Apps/coin_ynh -a "domain=adherents.arn-fai.net&path=/&email=contact@arn-fai.net&isp_name=ARN&isp_site=//arn-fai.net&admin=ljf" yunohost app install https://github.com/YunoHost-Apps/coin_ynh -a "domain=adherents.arn-fai.net&path=/&email=contact@arn-fai.net&isp_name=ARN&isp_site=//arn-fai.net&admin=ljf"
``` ```
## LICENSE of the upstream
Currently, the license is not specified, but it will be a free software. See https://code.ffdn.org/FFDN/coin/issues/152

View file

@ -9,15 +9,15 @@ location /protected/ {
alias /opt/YNH_APP_INSTANCE_NAME/YNH_APP_INSTANCE_NAME/smedia/; alias /opt/YNH_APP_INSTANCE_NAME/YNH_APP_INSTANCE_NAME/smedia/;
} }
location PATHTOCHANGE/media { location PATHTOCHANGEmedia {
alias /opt/YNH_APP_INSTANCE_NAME/media; alias /opt/YNH_APP_INSTANCE_NAME/media;
} }
location PATHTOCHANGE/static { location PATHTOCHANGEstatic {
alias /opt/YNH_APP_INSTANCE_NAME/static; alias /opt/YNH_APP_INSTANCE_NAME/static;
} }
location PATHTOCHANGE/assets { location PATHTOCHANGEassets {
alias /opt/YNH_APP_INSTANCE_NAME/static; alias /opt/YNH_APP_INSTANCE_NAME/static;
} }

View file

@ -6,7 +6,7 @@
"en": "Member dashboard for non profit isp.", "en": "Member dashboard for non profit isp.",
"fr": "Coin est un Outil pour un Internet Neutre." "fr": "Coin est un Outil pour un Internet Neutre."
}, },
"license": "free", "license": "AGPL-3.0-or-later",
"maintainer": { "maintainer": {
"name": "ljf", "name": "ljf",
"email": "ljf+coin_ynh@grimaud.me", "email": "ljf+coin_ynh@grimaud.me",

View file

@ -31,8 +31,7 @@ ynh_user_exists $admin \
function configure_app() function configure_app()
{ {
# Check domain/path availability # Check domain/path availability
sudo yunohost app checkurl "${domain}${path}" -a "$app" \ ynh_webpath_register "$app" "$domain" "$path"
|| ynh_die "Path not available: ${domain}${path}"
ynh_app_setting_set "$app" admin "$admin" ynh_app_setting_set "$app" admin "$admin"
ynh_app_setting_set "$app" email "$email" ynh_app_setting_set "$app" email "$email"