$ composer config repositories.jmango360 vcs https://gitlab.jmango360.com/m2repo/m2repo $ composer config repositories.jmango360-onepage vcs https://gitlab.jmango360.com/m2repo/m2onepage |
$ composer config repositories.jmango360 vcs https://gitlab.jmango360.com/m2repo/m2repo.git $ composer config repositories.jmango360-onepage vcs https://gitlab.jmango360.com/m2repo/m2onepage.git |
$ composer require jmango360/api jmango360/onepage |
$ php bin/magento module:enable Jmango360_Japi Jmango360_Onepage |
$ php bin/magento setup:upgrade $ php bin/magento setup:di:compile |
$ php bin/magento setup:static-content:deploy -t Magento/luma [other themes] [other languages] |
$ composer update jmango360/api jmango360/onepage |
$ php bin/magento setup:upgrade $ php bin/magento setup:di:compile |
$ php bin/magento setup:static-content:deploy -t Magento/luma [other themes] [other languages] |
1. Check if the PHP version supports CLI
$ php -v |
If the returned result matches the command line below, it means your PHP supports CLI.
|
$ composer -V |
Composer version 1.4.2 2017-05-17 08:17:52 |