https://github.com/wp-blocks/indexed-search
https://github.com/wp-blocks/indexed-search
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/wp-blocks/indexed-search
- Owner: wp-blocks
- License: other
- Created: 2023-11-20T14:12:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-17T13:13:16.000Z (over 2 years ago)
- Last Synced: 2025-04-23T00:35:49.252Z (about 1 year ago)
- Language: PHP
- Size: 386 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Indexed Search
An advanced WordPress indexed search plugin.
## Description
A super cool search plugin which uses indexing to make the search of post content speedy!
## Development
### Getting started
The development environment is setup in a Docker container.
```sh
# Create a development environment file
cp .env.example .env
# Command to start the development WordPress instance.
docker-compose up -d
```
## Testing
The development environment is setup in a separate Docker container than development.
```sh
# 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
```
### Testing database
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.
```sh
# Command to dump the testing database to tests/_data/dump.sql
bin/dump-acceptance-db.sh
```