Skip to content

Commit

Permalink
Refactor (#164)
Browse files Browse the repository at this point in the history
- Merged Doofinder and Doofinder for Woocommerce into a single plugin
- Make use of the rest API to improve the way we access the data you want to index.
- Added Setup Wizard and settings improvements.
  • Loading branch information
pedromcp90 authored Jul 25, 2023
1 parent e92847e commit f2579ed
Show file tree
Hide file tree
Showing 306 changed files with 11,448 additions and 81,156 deletions.
Empty file modified Gruntfile.coffee
100644 → 100755
Empty file.
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

50 changes: 2 additions & 48 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,48 +1,2 @@
# doofinder-woocommerce

Integrate Doofinder in your WooCommerce site with (almost) no effort.

To learn more check the [plugin page](https://wordpress.org/plugins/doofinder-for-woocommerce/) in the WordPress Plugins Repository.

## Developers

### Docker

```
$ docker-compose up
```

#### Import test data

In the WooCommerce importer choose _Show advanced options_ and use this path:

```
# previously: wp-content/plugins/woocommerce/dummy-data/dummy-data.csv
wp-content/plugins/woocommerce/sample-data/sample_products.csv
```

Then click _Run the importer_.

### Update library

The [Doofinder library](https://github.com/doofinder/php-doofinder) has some dependencies.

To install them and perform some cleanup run:

```
$ ./update_lib.sh
```

That will:

- Remove `doofinder-for-woocommerce/lib/vendor`
- Reinstall dependencies
- Remove some useless files
- Prefix libraries so they are all under the `Doofinder\` namespace to prevent conflicts with other plugins

### Release

```
$ grunt # Changes version number
$ grunt build # Builds the release
```
# doofinder-wordpress
Integrate Doofinder in your WordPress site with (almost) no effort.
Empty file modified assets/icon-128x128.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/icon-256x256.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/screenshot-1.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/screenshot-2.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/screenshot-3.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/screenshot-4.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/screenshot-5.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/screenshot-6.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/screenshot-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/screenshot-8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
- db
build: .
volumes:
- ./html:/var/www/html
- ./html:/var/www/html/
restart: unless-stopped
environment:
WORDPRESS_DB_HOST: db:3306
Expand Down
Empty file modified docker/apache2-hello.sh
100644 → 100755
Empty file.
Empty file modified docker/install-wordpress.sh
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions doofinder-for-woocommerce/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/logs
Loading

0 comments on commit f2579ed

Please sign in to comment.