# AnswerX AI Search & Chat

AnswerX AI Search & Chat – AI-Powered Assistance for WordPress

### Build for WP Org:
- `composer install --no-dev`
#### ignore files and folder: 
- ```.gitignore, .phpcs.xml, node_modules, .git```
- languages cache files

### Build for Development:
- ```composer install```
- `cp .env.example .env`.   
- Open the newly created `.env` file and add API URL

### Using PHPCS:
- run `.\vendor\bin\phpcs` to get phpcs errors
- run `.\vendor\bin\phpcbf` to auto fix syntex errors

### Common issues in WP:
WP Rocket:
add ```app.motherx.ai/widget.js``` that JS as ignore list in yoursite.com/wp-admin/options-general.php?page=wprocket#file_optimization