mirror of
https://github.com/YunoHost-Apps/coin_ynh.git
synced 2024-09-03 18:16:26 +02:00
commit
74f3cedc9c
4 changed files with 5 additions and 9 deletions
|
@ -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"
|
||||
```
|
||||
|
||||
## 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
|
||||
|
|
|
@ -9,15 +9,15 @@ location /protected/ {
|
|||
alias /opt/YNH_APP_INSTANCE_NAME/YNH_APP_INSTANCE_NAME/smedia/;
|
||||
}
|
||||
|
||||
location PATHTOCHANGE/media {
|
||||
location PATHTOCHANGEmedia {
|
||||
alias /opt/YNH_APP_INSTANCE_NAME/media;
|
||||
}
|
||||
|
||||
location PATHTOCHANGE/static {
|
||||
location PATHTOCHANGEstatic {
|
||||
alias /opt/YNH_APP_INSTANCE_NAME/static;
|
||||
}
|
||||
|
||||
location PATHTOCHANGE/assets {
|
||||
location PATHTOCHANGEassets {
|
||||
alias /opt/YNH_APP_INSTANCE_NAME/static;
|
||||
}
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "Member dashboard for non profit isp.",
|
||||
"fr": "Coin est un Outil pour un Internet Neutre."
|
||||
},
|
||||
"license": "free",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"maintainer": {
|
||||
"name": "ljf",
|
||||
"email": "ljf+coin_ynh@grimaud.me",
|
||||
|
|
|
@ -31,8 +31,7 @@ ynh_user_exists $admin \
|
|||
function configure_app()
|
||||
{
|
||||
# Check domain/path availability
|
||||
sudo yunohost app checkurl "${domain}${path}" -a "$app" \
|
||||
|| ynh_die "Path not available: ${domain}${path}"
|
||||
ynh_webpath_register "$app" "$domain" "$path"
|
||||
|
||||
ynh_app_setting_set "$app" admin "$admin"
|
||||
ynh_app_setting_set "$app" email "$email"
|
||||
|
|
Loading…
Add table
Reference in a new issue