1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yourls_ynh.git synced 2024-09-03 20:35:59 +02:00
This commit is contained in:
ericgaspar 2022-02-27 11:23:56 +01:00
parent 48134b0ac9
commit 956f6e043f
5 changed files with 11 additions and 12 deletions

View file

@ -2,7 +2,7 @@
<html lang="en-US"> <html lang="en-US">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>YOURLS</title> <title>YOURLS Your Own URL Shortener</title>
<link rel="stylesheet" href="css/style.css"/> <link rel="stylesheet" href="css/style.css"/>
</head> </head>
<body> <body>

View file

@ -2,10 +2,9 @@ YOURLS stands for Your Own URL Shortener. It is a small set of PHP scripts that
### YOURLS Features ### YOURLS Features
- Free and open-source software, - Private (your links only) or Public (everybody can create short links, fine for an intranet)
- Private (your links only) or Public (everybody can create short links, fine for an intranet), - Dozens of plugins to easily implement new features
- Terrific Plugin architecture and dozens of plugins to easily implement new features, - Handy bookmarklets to easily shorten and share links
- Handy bookmarklets to easily shorten and share links, - Awesome stats: historical click reports, referrers tracking, visitors geo-location
- Awesome stats: historical click reports, referrers tracking, visitors geo-location, - Developer API to integrate YOURLS into other applications
- Developer API to integrate YOURLS into other applications, - Sample files to create your own public interface
- Sample files to create your own public interface and more !

View file

@ -8,7 +8,6 @@
}, },
"version": "1.8.2~ynh1", "version": "1.8.2~ynh1",
"url": "https://yourls.org/", "url": "https://yourls.org/",
"license": "MIT",
"upstream": { "upstream": {
"license": "MIT", "license": "MIT",
"website": "https://yourls.org/", "website": "https://yourls.org/",
@ -16,6 +15,7 @@
"admindoc": "https://github.com/YOURLS/YOURLS/wiki", "admindoc": "https://github.com/YOURLS/YOURLS/wiki",
"code": "https://github.com/YOURLS/YOURLS" "code": "https://github.com/YOURLS/YOURLS"
}, },
"license": "MIT",
"maintainer": { "maintainer": {
"name": "Anmol Sharma", "name": "Anmol Sharma",
"email": "anmol@datamol.org" "email": "anmol@datamol.org"
@ -31,7 +31,7 @@
"multi_instance": true, "multi_instance": true,
"services": [ "services": [
"nginx", "nginx",
"php7.3-fpm", "php7.4-fpm",
"mysql" "mysql"
], ],
"arguments": { "arguments": {

View file

@ -71,7 +71,7 @@ fi
#================================================= #=================================================
# MODIFY URL IN NGINX CONF # MODIFY URL IN NGINX CONF
#================================================= #=================================================
ynh_script_progression --message="Updating NGINX web server configuration..." --time --weight=1 ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1
nginx_conf_path=/etc/nginx/conf.d/$old_domain.d/$app.conf nginx_conf_path=/etc/nginx/conf.d/$old_domain.d/$app.conf

View file

@ -60,7 +60,7 @@ ynh_system_user_create --username=$app --home_dir="$final_path"
#================================================= #=================================================
# RESTORE THE APP MAIN DIR # RESTORE THE APP MAIN DIR
#================================================= #=================================================
ynh_script_progression --message="Restoring YOURLS main directory..." --weight=3 ynh_script_progression --message="Restoring the app main directory..." --weight=3
ynh_restore_file --origin_path="$final_path" ynh_restore_file --origin_path="$final_path"