Step 1: Add module files
Download the Cart2Quote_Quotation and Cart2Quote_AutoProposal module zip files (sent to you by e-mail). Copy and paste each module to your store's webroot/app/code/Cart2Quote/ directory.
* Create the above directory if necessary.
Step 2: Enable the module(s)
Your module will be enabled by default after installation, but if you wish to make sure; open your terminal and navigate to your Magento root directory. From your root directory execute:
php bin/magento module:enable Cart2Quote_Quotation --clear-static-content
php bin/magento module:enable Cart2Quote_AutoProposal --clear-static-content
Step 2: Clear the Cache
To avoid errors, clean the cache before your proceed. Magento 2.1.x:
rm -rf var/generation/* var/cache/* pub/static/frontend/* pub/static/adminhtml/* var/page_cache/* var/di/* var/di
If you're on Magento 2.2.x or higher run the following command:
rm -rf generated/code* generated/metadata/* pub/static/* var/cache* var/page_cache/* var/page_cache/* var/view_preprocessed/*
Step 3: Execute your database scripts
To make sure all setup scripts are executed, run the following command in your terminal's Magento root directory:
php bin/magento setup:upgrade
Step 4: Compile dependency injection
php bin/magento setup:di:compile
(Note: This can take a couple of minutes and it can use a lot of memory, make sure to set max_execution_time = 600 and memory_limit = 512M. The last line should look like this: Generated code and dependency injection configuration successfully.)
Step 5: Static content deploy
php bin/magento setup:static-content:deploy
(Note: This can take a couple of minutes, make sure that PHP has enough execution time in CLI, otherwise your design breaks. The last line should look like this: New version of deployed files: 1457687534)
Step 6: Reindex data
php bin/magento indexer:reindex
After this step, Cart2Quote is successfully installed. Please find steps for configuring Cart2Quote below.
Need to test whether you have installed the module correctly? See here for more information.