I am using Magento 2 EE on my local machine. I have been searching for a few hours on this one. I want to install the sample page module listed here:
https://github.com/magento/magento2-samples/tree/master/sample-module-newpage /omeglzechat
Rather than upload and try to shoe-horn everything inside by creating and uploading files and folders I read this quote on the page:
This module is intended to be installed using composer.
I am new to Composer and the world of Grunt and Github forking and updating of files this way; I am old school but trying to adapt.
How do I do this? I have managed to install Composer on my machine and I have Terminal open to the folder of Magento 2. Can I just run a github command or Composer command; I tried:
#localhost:magento2ee: composer magento/sample-module-newpage
[InvalidArgumentException]
Command "magento/sample-module-newpage" is not defined.
I also tried
#localhost:magento2ee: composer require magento/sample-module-newpage
[InvalidArgumentException]
Could not find package magento/sample-module-newpage at any version for your minimum-stability (alpha). Check the package spelling or your minimum-stability
The below omegle.2yu.co is my composer.json file
{
"name": "magento/magento2ee",
"description": "Magento 2 (Enterprise Edition)",
"type": "magento-core",
"version": "1.0.0-beta4",
"license": [
"proprietary"
],
"require": {
"php": "~5.5.0|~5.6.0",
"zendframework/zend-stdlib": "2.4.0",
"zendframework/zend-code": "2.4.0",
"zendframework/zend-server": "2.4.0",
"zendframework/zend-soap": "2.4.0",
"zendframework/zend-uri": "2.4.0",
"zendframework/zend-validator": "2.4.0",
"zendframework/zend-console": "2.4.0",
"zendframework/zend-modulemanager": "2.4.0",
"zendframework/zend-mvc": "2.4.0",
"zendframework/zend-text": "2.4.0",
"zendframework/zend-i18n": "2.4.0",
"zendframework/zend-eventmanager": "2.4.0",
"zendframework/zend-view": "2.4.0",
"zendframework/zend-servicemanager": "2.4.0",
"zendframework/zend-json": "2.4.0",
"zendframework/zend-config": "2.4.0",
"zendframework/zend-form": "2.4.0",
"zendframework/zend-di": "2.4.0",
"zendframework/zend-serializer": "2.4.0",
"zendframework/zend-log": "2.4.0",
"zendframework/zend-http": "2.4.0",
"magento/zendframework1": "1.12.13",
"composer/composer": "1.0.0-alpha10",
"monolog/monolog": "1.11.0",
"oyejorge/less.php": "1.7.0.3",
"pelago/emogrifier": "0.1.1",
"tubalmartin/cssmin": "2.4.8-p4",
"solarium/solarium": "3.3.0",
"magento/magento-composer-installer": "*",
"braintree/braintree_php" : "2.39.0",
"symfony/console": "~2.3 <2.7"
},
"require-dev": {
"lib-libxml": "*",
"ext-ctype": "*",
"ext-gd": "*",
"ext-spl": "*",
"ext-dom": "*",
"ext-simplexml": "*",
"ext-mcrypt": "*",
"ext-hash": "*",
"ext-curl": "*",
"ext-iconv": "*",
"ext-intl": "*",
"ext-xsl": "*",
"ext-mbstring": "*",
"phpunit/phpunit": "4.1.0",
"squizlabs/php_codesniffer": "1.5.3",
"phpmd/phpmd": "@stable",
"pdepend/pdepend": "2.0.6",
"sjparkinson/static-review": "~4.1",
"fabpot/php-cs-fixer": "~1.2",
"lusitanian/oauth": "~0.3"
},
"replace": {
"magento/module-admin-notification": "self.version",
"magento/module-advanced-pricing-import-export": "self.version",
"magento/module-authorization": "self.version",
"magento/module-authorizenet": "self.version",
"magento/module-backend": "self.version",
"magento/module-backup": "self.version",
"magento/module-braintree": "self.version",
"magento/module-worldpay": "self.version",
"magento/module-bundle": "self.version",
"magento/module-bundle-import-export": "self.version",
"magento/module-cache-invalidate": "self.version",
"magento/module-captcha": "self.version",
"magento/module-catalog": "self.version",
"magento/module-catalog-import-export": "self.version",
"magento/module-catalog-inventory": "self.version",
"magento/module-catalog-rule": "self.version",
"magento/module-catalog-search": "self.version",
"magento/module-catalog-url-rewrite": "self.version",
"magento/module-catalog-widget": "self.version",
"magento/module-checkout": "self.version",
"magento/module-checkout-agreements": "self.version",
"magento/module-cms": "self.version",
"magento/module-cms-url-rewrite": "self.version",
"magento/module-config": "self.version",
"magento/module-configurable-import-export": "self.version",
"magento/module-configurable-product": "self.version",
"magento/module-contact": "self.version",
"magento/module-cookie": "self.version",
"magento/module-cron": "self.version",
"magento/module-currency-symbol": "self.version",
"magento/module-customer": "self.version",
"magento/module-customer-import-export": "self.version",
"magento/module-deploy": "self.version",
"magento/module-design-editor": "self.version",
"magento/module-developer": "self.version",
"magento/module-dhl": "self.version",
"magento/module-directory": "self.version",
"magento/module-downloadable": "self.version",
"magento/module-eav": "self.version",
"magento/module-email": "self.version",
"magento/module-advanced-search": "self.version",
"magento/module-fedex": "self.version",
"magento/module-gift-message": "self.version",
"magento/module-google-adwords": "self.version",
"magento/module-google-analytics": "self.version",
"magento/module-google-optimizer": "self.version",
"magento/module-google-shopping": "self.version",
"magento/module-google-tag-manager": "self.version",
"magento/module-grouped-import-export": "self.version",
"magento/module-grouped-product": "self.version",
"magento/module-import-export": "self.version",
"magento/module-indexer": "self.version",
"magento/module-integration": "self.version",
"magento/module-layered-navigation": "self.version",
"magento/module-log": "self.version",
"magento/module-msrp": "self.version",
"magento/module-media-storage": "self.version",