An advanced WordPress indexed search plugin.
A super cool search plugin which uses indexing to make the search of post content speedy!
The development environment is setup in a Docker container.
# Create a development environment file
cp .env.example .env
# Command to start the development WordPress instance.
docker-compose up -d
The development environment is setup in a separate Docker container than development.
# Create a testing environment file
cp tests/.env.example tests/.env
# Command to start the testing WordPress instance.
bin/test-up.sh
# Command to run Codeception unit tests from inside the container.
bin/test-run.sh unit
# Command to run Codeception acceptance tests from outside the container.
vendor/bin/codecept run acceptance
The testing container does not persist volumes. If a local database dump exists, it will be loaded when initializing the database container.
Use the following command to create a local database dump.
# Command to dump the testing database to tests/_data/dump.sql
bin/dump-acceptance-db.sh