This is the development repository of Spiff's WooCommerce plugin, Spiff Connect.
The spiff-connect folder contains all the files of the plugin except for assets which are included at build time.
- Copy a build of api.js into spiff-connect/public/js/.
- Set SPIFF_API_BASE in spiff-connect.php to the appropriate value.
- Run
docker-compose up
. - Visit localhost:8888.
- Install the project dependencies with composer.
- Run
./vendor/bin/phpunit tests
. (If using docker:docker run -v $(pwd):/app --rm phpunit/phpunit:latest tests
)