$ brew install nginx
$ vim /usr/local/etc/nginx/nginx.conf
Optional - I have done some testing and the following modules are easily disabled. Run at your own discretion!
bin/magento module:disable --clear-static-content Magento_ConfigurableSampleData Magento_SampleData Magento_MsrpSampleData Magento_DownloadableSampleData Magento_BundleSampleData Magento_CustomerSampleData Magento_ThemeSampleData Magento_SwatchesSampleData Magento_TaxSampleData Magento_CmsSampleData Magento_WidgetSampleData Magento_WishlistSampleData Magento_ReviewSampleData Magento_OfflineShippingSampleData Magento_SalesRuleSampleData Magento_SalesSampleData Magento_ProductLinksSampleData Magento_GroupedProductSampleData Magento_CatalogSampleData Magento_CatalogRuleSampleData Magento_GoogleOptimizer Magento_GoogleAdwords Magento_GoogleAnalytics Magento_Analytics Magento_QuoteAnalytics Magento_CustomerAnalytics Magento_WishlistAnalytics Magento_ReviewAnalytics Magento_SalesAnalytics Amazon_Core Klarna_Core Amazon_Login Amazon_Payment Kla
window.requestAnimFrame = (function() { | |
return window.requestAnimationFrame || | |
function(/* function */ callback, /* DOMElement */ element){ | |
window.setTimeout(callback, 1000 / 60); | |
}; | |
})(); |
Command Line
pry -r ./config/app_init_file.rb
- load your app into a pry session (look at the file loaded by config.ru)pry -r ./config/environment.rb
- load your rails into a pry sessionDebugger