Add GIT Repository to composer
composer config repositories.emizentech-magento2-storelocator vcs https://github.com/emizentech/magento2-storelocator/
Since this package is in a development stage, you will need to change the minimum-stability as well to the composer.json file: -
"minimum-stability": "dev",
After that, need to install this module as follows:
composer require magento/magento-composer-installer composer require emizentech/storelocator
go to Magento2Project root dir
create following Directory Structure :
/Magento2Project/app/code/Emizentech/StoreLocator
you can also create by following command:
cd /Magento2Project mkdir app/code/Emizentech mkdir app/code/Emizentech/StoreLocator
to Enable this module you need to follow these steps:
bin/magento module:enable Emizentech_StoreLocator
bin/magento setup:upgrade
bin/magento setup:di:compile