1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flarum_ynh.git synced 2024-09-03 18:36:24 +02:00

Update README.md

For automatic post-installation
This commit is contained in:
Titus PiJean 2016-10-19 20:16:19 +02:00 committed by GitHub
parent 99c8688753
commit 7e418dd2aa

View file

@ -5,14 +5,16 @@
Flarum requires `composer`, which should be automatically retrieved and installed. Flarum requires `composer`, which should be automatically retrieved and installed.
## Post-installation ## Post-installation
Post-installation is not automated. Post-installation is **automated**.
However, if you leave the forum title field empty in YunoHost's form, automatic post-installation will not be launched.
1. Retrieve database password: 1. Retrieve database password:
* It should be displayed in the log messages on top of installation page. * It should be displayed in the log messages on top of installation page.
* Otherwise, display in command prompt with `sudo cat /etc/yunohost/apps/flarum/settings.yml | grep mysql` (Replace `flarum` by its actual app id if you are using multiple flarum instances in YNH) * Otherwise, display in command prompt with `sudo cat /etc/yunohost/apps/flarum/settings.yml | grep mysql` (Replace `flarum` by its actual app id if you are using multiple flarum instances in YNH)
2. Go to your Flarum homepage to initiate post-installation. 2. Go to your Flarum homepage to initiate manual post-installation.
3. Fill in the blanks about `MySQL` as follow, put the retrieved database password. The remaining blanks are up to you. 3. Fill in the blanks about `MySQL` as follow, put the retrieved database password. The remaining blanks are up to you.
<p align="center"><img src="http://i.imgur.com/p7XmTDw.png" width="500" ></p> <p align="center"><img src="http://i.imgur.com/p7XmTDw.png" width="300" ></p>