Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/iworks/my-car/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
How prepare development environment?
- get this repo:
git clone git@github.com:iworks/my-car.git - run
npm installif needednpm install --force - run
grunt buildto build assets
How to preapre test environment?
- get
wordpress-tests-librepogit clone git@github.com:ArcFramework/wordpress-tests-lib.git - set environment variable
WP_TESTS_DIRto path towordpress-tests-librepo - configure
wp-tests-config.phpto usewordpress-tests-librepo - install PHPUnit Polyfills -
composer require --dev yoast/phpunit-polyfills:"^4.0" - set environment variable
WP_TESTS_PHPUNIT_POLYFILLS_PATHto path tophpunit-polyfillsdirectory - add some tests
- run
grunt phpunit