convenient / setupscriptsdisabler
Disables automatic application of setup scripts in Magento
Installs: 5 493
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 2
Forks: 0
Open Issues: 0
Type:magento-module
Suggests
README
Disables the automatic application of setup scripts in Magento, this is cool because
- It's a little performance boost, we don't need to be checking for setup scripts every time Mage::run is called as setup scripts should be run during the deployment process
- It is safer. If you went wild and deployed to a busy server it is possible that setup scripts could be initiated multiple times by multiple processes. This could cause your database to get into unexpected or corrupted states.
n98-magerun sys:setup:run
is my preferred method of running setup scripts.
Just pop it (and your preferred composer installer / autoloader) in your composer.json and it's all ready to go.
{
"require": {
"magento-hackathon/magento-composer-installer": "~2.0",
"convenient/setupscriptsdisabler":"~0.2"
},
"repositories": [
{
"type": "composer",
"url": "http://packages.firegento.com"
}
],
"extra": {
"magento-root-dir":"./",
"magento-force":"override"
}
}