mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
Auto-update README
This commit is contained in:
parent
9099f85447
commit
c3347e6e95
2 changed files with 0 additions and 88 deletions
47
README.md
47
README.md
|
@ -31,53 +31,6 @@ It is also possible to import your data from Instagram.
|
|||
|
||||

|
||||
|
||||
## Disclaimers / important information
|
||||
|
||||
## Important points to read before installing
|
||||
|
||||
1. **Pixelfed** require a dedicated **root domain**, eg. pixelfed.domain.tld
|
||||
|
||||
### Administrator
|
||||
|
||||
After being first registered, you need to execute the folloing command to promote first registered as admin
|
||||
|
||||
**Run:**
|
||||
|
||||
$ sudo php8.0 /var/www/pixelfed/artisan user:admin 1
|
||||
|
||||
and respond yes to the question ` Add admin privileges to this user?`.
|
||||
|
||||
### Allow/Close registrations
|
||||
|
||||
Registrations are open by default.
|
||||
To change that setting, edit `/var/www/pixelfed/.env` and set `OPEN_REGISTRATION=false` instead of `true`.
|
||||
Then run `php7.4 artisan config:cache` to reload the settings.
|
||||
|
||||
### Change max upload limit
|
||||
|
||||
To change max upload limit (default : 50MB), edit the Pixelfed `php-fpm.conf` file and find the line `Common values to change to increase file upload limit`
|
||||
And adjust those values:
|
||||
```
|
||||
php_admin_value[post_max_size] = 50M
|
||||
php_admin_value[upload_max_filesize] = 50M
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### Disable search engine indexing
|
||||
|
||||
If you don't want your Pixelfed instance to be indexed in search engine (and so on), edit `/var/www/pixelfed/public/robots.txt` like this:
|
||||
```
|
||||
User-agent: *
|
||||
Disallow: /
|
||||
```
|
||||
Note: search engines will see that file and may or may not respect its content.
|
||||
|
||||
Since 0.10.10, by default `/discover/places/`, `/stories/` and `/i/` are present in that file.
|
||||
|
||||
## Documentation and resources
|
||||
|
||||
* Official app website: <https://pixelfed.org/>
|
||||
|
|
41
README_fr.md
41
README_fr.md
|
@ -32,47 +32,6 @@ Il est également possible d'importer ses données depuis Instagram.
|
|||
|
||||

|
||||
|
||||
## Avertissements / informations importantes
|
||||
|
||||
## Points importants à lire avant l'installation
|
||||
|
||||
1. **Pixelfed** nécessite un **domaine racine** dédié, par ex. pixelfed.domain.tld
|
||||
|
||||
### Administrateur
|
||||
|
||||
Après avoir été enregistré pour la première fois, vous devez exécuter la commande suivante pour promouvoir le premier enregistré en tant qu'administrateur
|
||||
|
||||
**Entrez la commande:**
|
||||
|
||||
$ php8.0 /var/www/pixelfed/artisan user:admin 1
|
||||
|
||||
et répondez oui à la question « Ajouter des privilèges d'administrateur à cet utilisateur ? »
|
||||
|
||||
### Autoriser/Fermer les inscriptions
|
||||
|
||||
Les inscriptions sont ouvertes par défaut.
|
||||
Pour modifier ce paramètre, modifiez `/var/www/pixelfed/.env` et définissez `OPEN_REGISTRATION=false` au lieu de `true`.
|
||||
Ensuite, exécutez `php7.4 artisan config:cache` pour recharger les paramètres.
|
||||
|
||||
### Changer la taille limite maximale de téléversement
|
||||
|
||||
Pour changer la limite maximale de téléversement (par défaut : 50Mo), éditer le fichier `php-fpm.conf` de Pixelfed et après la ligne `Common values to change to increase file upload limit` ajuster ces valeurs:
|
||||
```
|
||||
php_admin_value[post_max_size] = 50M
|
||||
php_admin_value[upload_max_filesize] = 50M
|
||||
```
|
||||
|
||||
### Désactiver l'indexation des moteurs de recherche
|
||||
|
||||
Si vous ne voulez pas que votre instance Pixelfed soit indexée dans le moteur de recherche (et ainsi de suite), modifiez `/var/www/pixelfed/public/robots.txt` comme ceci :
|
||||
```
|
||||
Agent utilisateur: *
|
||||
Interdire : /
|
||||
```
|
||||
Remarque : les moteurs de recherche verront ce fichier et pourront ou non respecter son contenu.
|
||||
|
||||
Depuis la 0.10.10, par défaut `/discover/places/`, `/stories/` et `/i/` sont présents dans ce fichier.
|
||||
|
||||
## Documentations et ressources
|
||||
|
||||
* Site officiel de l’app : <https://pixelfed.org/>
|
||||
|
|
Loading…
Add table
Reference in a new issue