mirror of
https://github.com/YunoHost-Apps/tiki_ynh.git
synced 2024-09-04 01:15:54 +02:00
postinstall
This commit is contained in:
parent
1476482129
commit
7648a0d698
2 changed files with 24 additions and 2 deletions
|
@ -1 +1,9 @@
|
||||||
Database credentials are sent by mail for the post installation. `http://example.org/tiki-install.php`
|
### Postinstall
|
||||||
|
|
||||||
|
Database credentials are sent by mail for the post installation. `http://example.org/tiki-install.php`
|
||||||
|
|
||||||
|
### Storing your uploaded files
|
||||||
|
|
||||||
|
To ease the install process and first access, Tiki saves your uploaded files (office documents, images, pdf, etc. attached to wiki pages, forum posts, tracker items, file galleries, ...) by default in its database. This works perfectly in most cases but it is not the recommended setup if you need to save many thousands of files or more.
|
||||||
|
|
||||||
|
In that case, consider switching from "Store to database" to "Store to directory", which you will find in the Configuration Wizard. Please use this preset path directory: `/home/yunohost.app/tiki`. You will be able to migrate your currently uploaded files from one to the other.
|
|
@ -104,6 +104,20 @@ ynh_script_progression --message="Configuring PHP-FPM..." --weight=1
|
||||||
# Create a dedicated PHP-FPM config
|
# Create a dedicated PHP-FPM config
|
||||||
ynh_add_fpm_config
|
ynh_add_fpm_config
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# CREATE DATA DIRECTORY
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Creating a data directory..." --time --weight=1
|
||||||
|
|
||||||
|
datadir=/home/yunohost.app/$app
|
||||||
|
ynh_app_setting_set --app=$app --key=datadir --value=$datadir
|
||||||
|
|
||||||
|
mkdir -p $datadir
|
||||||
|
|
||||||
|
chmod 750 "$datadir"
|
||||||
|
chmod -R o-rwx "$datadir"
|
||||||
|
chown -R $app:www-data "$datadir"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# ADD A CONFIGURATION
|
# ADD A CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -148,8 +162,8 @@ Please open your $app domain: https://$domain$path_url
|
||||||
Complete the registration process from the setup page displayed.
|
Complete the registration process from the setup page displayed.
|
||||||
Details for MySQL database to be enterted while registration process:
|
Details for MySQL database to be enterted while registration process:
|
||||||
|
|
||||||
Database login: $app
|
|
||||||
Database name: $app
|
Database name: $app
|
||||||
|
Database userame: $app
|
||||||
Database password: $db_pwd
|
Database password: $db_pwd
|
||||||
|
|
||||||
If you are facing any problem or want to improve this app, please open a new issue here: https://github.com/YunoHost-Apps/tiki_ynh/issues"
|
If you are facing any problem or want to improve this app, please open a new issue here: https://github.com/YunoHost-Apps/tiki_ynh/issues"
|
||||||
|
|
Loading…
Reference in a new issue