Skip to content

nodeless-io/nodeless-woocommerce

Repository files navigation

Nodeless for WooCommerce plugin

For a detailed feature overview and description go to the official WordPress plugin page: https://wordpress.org/plugins/nodeless-for-woocommerce/

This readme is mostly about plugin development on the main repo on GitHub.

Considerations

The basic structure is a mix of the plugin generator by WP cli tool (file structure, Grunt build runner, etc.) and Composer based setup with GitHub workflows to deploy the artifact to WordPress SVN. WP does not support composer yet so we need to still do fetch dependencies in the build process and adjust to their SVN based structure for committing the code to their plugin ecosystem. This is all handled by the Github workflow.

Todo new features

Check the repos issues here: https://github.com/nodeless-io/nodeless-woocommerce/issues

Development

git clone git@github.com:nodeless-io/nodeless-woocommerce.git

Install dependencies with Composer:

composer install

Override host

For local development you can override backend host by defining the constant NODELESS_HOST in your wp-settings.php:

define('NODELESS_HOST', 'http://host.docker.internal');

Contributing

Feel free to open an issue to discuss a feature or provide a PR for any improvements or if you want to tackle a feature listed in the issues.

Local development with Docker

Install dependencies

composer install

Run docker compose to spin containers up

docker-compose up -d

Go to http://localhost:8821 and install WordPress, WooCommerce and Nodeless for WooCommerce Plugin.