Installation from Marketplace
Prepare to install
Installation requires Marketplace module. It’s our module that registers Magento packages repository in composer.json file, saves its credentials to the auth.json file, automates a bunch of complex commands required to run prior and after module installation, and provides easy to use module installer.
composer require swissup/module-marketplace &&\ bin/magento setup:upgrade &&\ bin/magento marketplace:channel:enable magento
You’ll be asked to enter your credentials. Get your credentials at marketplace.magento.com
When Marketplace module is installed you can proceed with installation in teminal (GUI is also available under System > Marketplace menu entry).
bin/magento marketplace:package:require swissup/amp &&\ bin/magento marketplace:package:install swissup/amp
Magento 2.1.x users should apply additional changes
Navigate to you store with
?amp=1 parameter in url to check how it looks.