mirror of
https://github.com/YunoHost-Apps/friendica_ynh.git
synced 2024-09-03 18:36:14 +02:00
79af3c5ed4
More minor copy-edits
63 lines
3.1 KiB
Markdown
63 lines
3.1 KiB
Markdown
# Friendica social network for YunoHost
|
|
|
|
|
|
[![Integration level](https://dash.yunohost.org/integration/friendica.svg)](https://dash.yunohost.org/appci/app/friendica)
|
|
[![Install Friendica with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=friendica)
|
|
|
|
> *This package allow you to install Friendica quickly and simply on a YunoHost server.
|
|
If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to learn how to install and enjoy it.*
|
|
|
|
|
|
[Friendica](http://friendi.ca/) 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](https://github.com/friendica/friendica/blob/develop/doc/Install.md) for important information about
|
|
- SSL certificate validation requirement (now with support for [Let's Encrypt!](https://letsencrypt.org)). 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](https://letsencrypt.org/), 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](https://github.com/YunoHost-Apps/friendica_ynh/tree/testing).
|
|
|
|
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
|
|
```
|
|
|