-
Notifications
You must be signed in to change notification settings - Fork 9
Development Environments
The instructions below will help in setting up a local development environment for contributing to the free, pro, and core repositories.
Development of the free plugin is best handled in a local WordPress site such as mapsbuilderfree.test
.
From the root of the local WordPress installation:
cd wp-content/plugins
git clone https://github.com/impress-org/google-maps-builder google-maps-builder
cd google-maps-builder
composer install
npm install
gulp
Development of the pro plugin is best handled in a local WordPress site such as mapsbuilderpro.test
.
From the root of the local WordPress installation:
cd wp-content/plugins
git clone https://github.com/impress-org/Maps-Builder-Pro google-maps-builder
cd google-maps-builder
composer install
npm install
gulp
Development of core functionality is best handled as part of a local WordPress site such as mapsbuilderfree.test
or mapsbuilderpro.test
. The instructions below assume that a free or pro site has already been set up using the instructions above.
To set up Maps Build Core for local development, the maps-builder-core
directory installed by Composer must be deleted from the vendor/wordimpress/
directory. Then the Maps Builder Core Git repo can be cloned in its place.
From the root of the local WordPress installation:
cd wp-content/plugins/google-maps-builder/vendor/wordimpress
rm -rf maps-builder-core
git clone https://github.com/impress-org/maps-builder-core maps-builder-core
cd maps-builder-core
composer install
Now the maps-builder-core
directory is a Git repository, and changes may be pushed to or pulled from the Maps Builder Core repo on GitHub.