Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/accelasearch/prestashop-module
AccelaSearch module for Prestashop
https://github.com/accelasearch/prestashop-module
Last synced: about 2 months ago
JSON representation
AccelaSearch module for Prestashop
- Host: GitHub
- URL: https://github.com/accelasearch/prestashop-module
- Owner: accelasearch
- License: afl-3.0
- Created: 2023-01-30T12:59:36.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-11-05T10:05:31.000Z (2 months ago)
- Last Synced: 2024-11-05T11:21:21.182Z (2 months ago)
- Language: PHP
- Size: 5.04 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.MD
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# AccelaSearch Prestashop Module
AccelaSearch Prestashop Module is a Prestashop module that allows you to add a powerful search engine to your store.
## Compatibility
Minimum Prestashop version: 1.7.0 or higher
Minimum PHP version: 7.1 or higher## Controller Routing
Routing of ajax calls made by RTK Query is done by official AdminController and managed by a Dispatcher that route the request to src/Controller/CamelCaseController.php dinamically. To add a new route just add row to the controllers/AccelasearchAdmin.php and create a new controller in src/Controller folder.
### React side
Create a new service in react/services folder and add it to the service.js file.
## Start a local tunnel
You can use localtunnel to expose your local Prestashop installation to the internet.
```bash
npx localtunnel --port 8199
```## Make Commands
Some commands needs to be run inside the container, check **make help** for more info.
### Lint view
```bash
make lint
```### Lint fix
```bash
make lint-fix
```### PHP Lint
```bash
make php-lint
```### PHP Stan (static analysis)
```bash
make phpstan
```### Header check
```bash
make header-check
```### Header fix
```bash
make header-fix
```### Run phpunit and e2e tests
```bash
make test
```### Run autoindex file generation
```bash
make autoindex
```### Create new official release ( see make help for more options )
```bash
TYPE=patch make release
```## Write new tests
Create a file in the `tests/Unit` folder with the name of the class you want to test and add the suffix `Test.php`.
Take a look at the `tests/Unit/ManagerTest.php` file for an example.
## Backoffice login
- URL:
- Username:
- Password: prestashop_demo