Copy-editing
3.1 KiB
Friendica social network for YunoHost
This package allow you to install Friendica quickly and simply on a YunoHost server.
If you don't have YunoHost, please see here to know how to install and enjoy it.
Friendica integration for YunoHost
*Version:2020.09
Current snapshot in sources:
- https://github.com/friendica/friendica: 2020.03
- https://github.com/friendica/friendica-addons: 2020.03
Important Notes
Before installing, read the Friendica installation instructions for important information about
- SSL certificate validation requirement (now with support for Let's Encrypt!). See Installation section below.
- Dedicated domain (must install under web root like https://hub.example.com/ not https://example.com/hub/ )
Note: You can use accounts from YunoHost's LDAP. Single sign-on (SSO) is not yet functional.
To-do
- Fail2Ban support
Installation
Register a new domain and add it to YunoHost
Friendica requires a dedicated domain, so obtain one and add it using the YunoHost admin panel. Domains -> Add domain. As Friendica uses the full domain and is installed on the root, you can create a subdomain such as friendica.domain.tld. Don't forget to update your DNS if you manage them manually.
Friendica requires browser-approved SSL certificates. If you have certificates not issued by Let's Encrypt, install them manually as usual.
Install the Friendica application
Use the YunoHost admin panel to install Friendica by entering the GitHub repo address in the custom app URL:
https://github.com/YunoHost-Apps/friendica_ynh
Make sure to select your domain from the previous section as the application domain.
After the installation, login with the username provided at the time of the installation with your SSO password. You can then create your profile and access the admin panel from the button in the center of the top nav bar, just adjacent to the search bar. (The admin panel doesn't have text, so don't get confused with it.) Public users can register and use the instance as normal users. SSO users can login with their username and password as normal users too.
Developers info
Only if you want to use a testing branch for coding, instead of merging directly into master. Please do your pull request to the testing branch.
To try the testing branch, please proceed like that.
sudo yunohost app install https://github.com/YunoHost-Apps/friendica_ynh/tree/testing --debug
or
sudo yunohost app upgrade REPLACEBYYOURAPP -u https://github.com/YunoHost-Apps/friendica_ynh/tree/testing --debug