Name: zettr
Owner: AOE
Description: null
Created: 2015-10-06 06:27:35.0
Updated: 2017-09-05 10:40:32.0
Pushed: 2017-02-21 01:05:43.0
Homepage: null
Size: 1823
Language: PHP
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Author: Fabrizio Branca
(formerly known as “EnvSettingsTool”)
A 'setting' is everything that's different from one environment to another. During the installation the project needs to be 'adapted' to the target environment you're deploying it to. These values can't be hardcoded and they also shouldn't have to be changed manually after the installation.
The classic (and obvious) settings are urls, database parameters, maybe cache backend settings and payment provider configuration (you're probably using a sandbox in all non-production environments).
But really there are a lot more settings that you might want to control via Zettr:
And even if some specific settings are the same for all of your environments you might want to consider adding them to your settings file in order to enforce them being in place every time you run the tool (every time you install a new build) or in order to roll out values for settings you're introducing in your codebase.
Settings that are controlled via Zettr can still be overwritten in Magento. Zettr doesn't “lock” those settings and the user will not even notice that this value is “remote controlled” and will be overwritten on the next deployment.
(Insert example for % % –delete–)
e:
ttr.phar apply [--dryRun] [--groups=GROUPS] [--excludeGroups=EXCLUDEGROUPS] <environment> <file1.csv> [<file2.csv>]
ple:
ttr.phar apply devbox ../Configuration/settings.csv
Root dir = CWD (or --rootDir
)
File format
also used to enforce settings via version control Settings injection Why csv?
used for Magento, but not restricted to
What's a handler?
fixed set of 3 param
How to