Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 704 Bytes

File metadata and controls

37 lines (27 loc) · 704 Bytes

Setup

Needs: Docker + Node 18+ + PHP 8.2+ + Composer.

nvm use
npm install
composer install
npm run env:start

http://localhost:9888/wp-admin — login admin / password

  1. Activate Haydi in Plugins
  2. Go to Tools → Haydi, configure your AI connector in Settings → Connectors
  3. Start chatting

Running tests

# PHP unit tests (no running WordPress required)
vendor/bin/phpunit

# JS unit tests (no browser required)
npm run test:unit

# Integration tests (requires env:start)
npm test

Environment commands

npm run env:stop     # pause
npm run env:destroy  # wipe everything
npm run env:logs     # PHP/WP logs