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-26 21:24:21 +01:00
parent 970a9c1bb2
commit 8f580a9c51
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 14 additions and 4 deletions

View file

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

View file

@ -85,6 +85,9 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path"
# copy index file
ynh_add_config --template="../conf/index.php" --destination="$final_path/"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
@ -106,9 +109,6 @@ ynh_script_progression --message="Configuring PHP-FPM..." --weight=2
ynh_add_fpm_config
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
# copy index file
cp ../conf/index.php $final_path/
#=================================================
#=================================================
# ADD A CONFIGURATION