3. Configuration

cookie-cutter needs the variable COOKIE_CUTTER_ROOT to be defined in its execution environment. In a Bourne or Korne derived shell (sh, ksh, bash, zsh), define it as follows:


[user@hostname cookie-cutter]$ COOKIE_CUTTER_ROOT=/path/to/cookie-cutter
[user@hostname cookie-cutter]$ export COOKIE_CUTTER_ROOT

Be sure to record the environment variable into a persistent configuration file: /etc/profile, .profile, .bash_profile ... depending on your installation and shell. To test your configuration, execute the cookie-cutter command at your shell prompt:


[user@hostname cookie-cutter]$ pwd
/path/to/cookie-cutter/bin
[user@hostname cookie-cutter]$ ./cookie-cutter
If cookie-cutter complains without printing its usage on the terminal, it's probably the COOKIE_CUTTER_ROOT variable which is not correctly set.