A free, self-hostable news aggregator…
A bit more readme
Alexandre Alapetitea7301a43faeb
diff --git a/README.fr.md b/README.fr.mdindex cd1fef6b4..8efa983e3 100644--- a/README.fr.md+++ b/README.fr.md@@ -32,7 +32,7 @@ Nous sommes une communauté amicale.* Fonctionne même sur un Raspberry Pi 1 avec des temps de réponse < 1s (testé sur 150 flux, 22k articles)* Serveur Web Apache2 (recommandé), ou nginx, lighttpd (non testé sur les autres)* PHP 5.3.3+ (PHP 5.4+ recommandé, et PHP 5.5+ pour les performances, et PHP 7+ pour d’encore meilleures performances)- * Requis : [DOM](http://php.net/dom), [XML](http://php.net/xml), [PDO_MySQL](http://php.net/pdo-mysql) ou [PDO_SQLite](http://php.net/pdo-sqlite) ou [PDO_PGSQL](http://php.net/pdo-pgsql), [cURL](http://php.net/curl)+ * Requis : [cURL](http://php.net/curl), [DOM](http://php.net/dom), [XML](http://php.net/xml), et [PDO_MySQL](http://php.net/pdo-mysql) ou [PDO_SQLite](http://php.net/pdo-sqlite) ou [PDO_PGSQL](http://php.net/pdo-pgsql)* Recommandés : [JSON](http://php.net/json), [GMP](http://php.net/gmp) (pour accès API sur plateformes < 64 bits), [IDN](http://php.net/intl.idn) (pour les noms de domaines internationalisés), [mbstring](http://php.net/mbstring) et/ou [iconv](http://php.net/iconv) (pour conversion d’encodages), [ZIP](http://php.net/zip) (pour import/export), [zlib](http://php.net/zlib) (pour les flux compressés)* MySQL 5.5.3+ (recommandé), ou SQLite 3.7.4+, ou PostgreSQL (experimental)* Un navigateur Web récent tel Firefox, Internet Explorer 11 / Edge, Chrome, Opera, Safari.diff --git a/README.md b/README.mdindex 4ce6a5566..ecdd19376 100644--- a/README.md+++ b/README.md@@ -32,7 +32,7 @@ We are a friendly community.* It even works on Raspberry Pi 1 with response time under a second (tested with 150 feeds, 22k articles)* A web server: Apache2 (recommended), nginx, lighttpd (not tested on others)* PHP 5.3.3+ (PHP 5.4+ recommended, and PHP 5.5+ for performance, and PHP 7 for even higher performance)- * Required extensions: [DOM](http://php.net/dom), [XML](http://php.net/xml), [PDO_MySQL](http://php.net/pdo-mysql) or [PDO_SQLite](http://php.net/pdo-sqlite) or [PDO_PGSQL](http://php.net/pdo-pgsql), [cURL](http://php.net/curl)+ * Required extensions: [cURL](http://php.net/curl), [DOM](http://php.net/dom), [XML](http://php.net/xml), and [PDO_MySQL](http://php.net/pdo-mysql) or [PDO_SQLite](http://php.net/pdo-sqlite) or [PDO_PGSQL](http://php.net/pdo-pgsql)* Recommended extensions: [JSON](http://php.net/json), [GMP](http://php.net/gmp) (for API access on platforms < 64 bits), [IDN](http://php.net/intl.idn) (for Internationalized Domain Names), [mbstring](http://php.net/mbstring) and/or [iconv](http://php.net/iconv) (for charset conversion), [ZIP](http://php.net/zip) (for import/export), [zlib](http://php.net/zlib) (for compressed feeds)* MySQL 5.5.3+ (recommended), or SQLite 3.7.4+, or PostgreSQL (experimental)* A recent browser like Firefox, Internet Explorer 11 / Edge, Chrome, Opera, Safari.diff --git a/cli/README.md b/cli/README.mdindex 3f6cbfe1f..444606b50 100644--- a/cli/README.md+++ b/cli/README.md@@ -32,11 +32,15 @@ Options in parenthesis are optional.```shcd /usr/share/FreshRSS-./cli/do-install.php --default_user admin --auth_type form ( --environment production --base_url https://rss.example.net/ --language en --title FreshRSS --allow_anonymous --api_enabled --db-type mysql --db-host localhost:3306 --db-user freshrss --db-password dbPassword123 --db-base freshrss --db-prefix freshrss )-# The default database is SQLite-# Does not create the default user. Do that with ./cli/create-user.php+./cli/do-install.php --default_user admin --auth_type form ( --environment production --base_url https://rss.example.net/ --title FreshRSS --allow_anonymous --api_enabled --db-type mysql --db-host localhost:3306 --db-user freshrss --db-password dbPassword123 --db-base freshrss --db-prefix freshrss )+# --auth_type can be: 'form' (recommended), 'http_auth' (using the Web server access control), 'none' (dangerous)+# --db-type can be: 'sqlite' (default), 'mysql' (MySQL or MariaDB), 'pgsql' (PostgreSQL)+# --environment can be: 'production' (default), 'development' (for additional log messages)+# --db-prefix is an optional prefix in front of the names of the tables+# This command does not create the default user. Do that with ./cli/create-user.php./cli/create-user.php --user username ( --password 'password' --api-password 'api_password' --language en --email [email protected] --token 'longRandomString' --no-default-feeds )+# --language can be: 'en' (default), 'fr', or one of the [supported languages](../app/i18n/)./cli/delete-user.php --user username@@ -51,5 +55,4 @@ cd /usr/share/FreshRSS./cli/export-opml-for-user.php --user username > /path/to/file.opml.xml./cli/export-zip-for-user.php --user username ( --max-feed-entries 100 ) > /path/to/file.zip-```diff --git a/cli/do-install.php b/cli/do-install.phpindex 5eeedc626..667191680 100755--- a/cli/do-install.php+++ b/cli/do-install.php@@ -6,7 +6,6 @@ require(LIB_PATH . '/lib_install.php');$params = array('environment:','base_url:',- 'language:','title:','default_user:','allow_anonymous',@@ -30,7 +29,7 @@ $options = getopt('', array_merge($params, $dBparams));if (empty($options['default_user']) || empty($options['auth_type'])) {fail('Usage: ' . basename(__FILE__) . " --default_user admin --auth_type form" ." ( --environment production --base_url https://rss.example.net/" .- " --language en --title FreshRSS --allow_anonymous --api_enabled" .+ " --title FreshRSS --allow_anonymous --api_enabled" ." --db-type mysql --db-host localhost:3306 --db-user freshrss --db-password dbPassword123" ." --db-base freshrss --db-prefix freshrss )");}