Document MySQL setup for websub
authorChristian Weiske <cweiske@cweiske.de>
Sat, 29 Feb 2020 20:23:50 +0000 (21:23 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Sat, 29 Feb 2020 20:23:50 +0000 (21:23 +0100)
README.rst

index cbc259f61a06cd96cf9454b9b76e86fe185fda7e..071f42d985a8d14211c61cd9c121533b9543028f 100644 (file)
@@ -38,6 +38,7 @@ Dependencies
 ============
 - PHP 5.5+
 - Elasticsearch 2.0
 ============
 - PHP 5.5+
 - Elasticsearch 2.0
+- MySQL or MariaDB for WebSub subscriptions
 - Gearman (Debian 9: ``gearman-job-server``, not ``gearman-server``)
 - PHP Gearman extension
 - Console_CommandLine
 - Gearman (Debian 9: ``gearman-job-server``, not ``gearman-server``)
 - PHP Gearman extension
 - Console_CommandLine
@@ -61,6 +62,7 @@ Setup
 #. Point your webserver's document root to phinde's ``www`` directory
 #. Copy ``data/config.php.dist`` to ``data/config.php`` and adjust it.
    Make sure your add your domain to the crawl whitelist.
 #. Point your webserver's document root to phinde's ``www`` directory
 #. Copy ``data/config.php.dist`` to ``data/config.php`` and adjust it.
    Make sure your add your domain to the crawl whitelist.
+#. Create a MySQL database and import the schema from ``data/schema.sql``
 #. Run ``bin/setup.php`` which sets up the Elasticsearch schema
 #. Put your homepage into the queue::
 
 #. Run ``bin/setup.php`` which sets up the Elasticsearch schema
 #. Put your homepage into the queue::