dev-master
9999999-devTYPO3 indexer for Algolia Search Engine
GPL-2.0+
The Requires
The Development Requires
by Martin Hummer
search typo3 algolia indexer
TYPO3 indexer for Algolia Search Engine
This Extension depends on Codappix/search_core, (*1)
Indexing of records works fine until it comes to pages_language_overlay. This should be obsolete with TYPO3 9, (*2)
Delete & Update does not work for this indexer and i suggest to use a cron job to reindex this table: typo3cms index:delete pages_language_overlay typo3cms index:index pages_language_overlay, (*3)
The first thing you need to do is to go to your extension directory and "tell" composer to set up
the testing environment for a TYPO3 version you want to test against. For that, type composer install
, (*4)
Algolia credentials are taken from environment variables which are located at:
/Tests/Functional/.env.example
Update this file with your credentials and rename it to /Tests/Functional/.env
, (*5)
You can now execute the unit tests of your extension simply by calling phpunit with the following command::, (*6)
TYPO3_PATH_WEB=$PWD/.Build/Web \ \ .Build/bin/phpunit --colors -c \ .Build/vendor/typo3/cms/typo3/sysext/core/Build/UnitTests.xml \ Tests/Unit
You can execute the functional tests of your extension simply by calling phpunit with the following command::, (*7)
typo3DatabaseName="yourDatabaseName" \ typo3DatabaseUsername="yourUsername" \ typo3DatabasePassword="yourPassword" \ typo3DatabaseHost="localhost" \ TYPO3_PATH_WEB=.Build/web \ .Build/bin/phpunit -v -c Tests/Functional/FunctionalTests.xml
Please note, that you need to specify a database user, that is allowed to create and delete databases for that to work. You can specify an arbitrary database name, it is only used to derive the test database names from., (*8)
TYPO3 indexer for Algolia Search Engine
GPL-2.0+
search typo3 algolia indexer