Skip to content

Instantly share code, notes, and snippets.

@edspencer
Created August 19, 2009 19:56
Show Gist options
  • Save edspencer/170622 to your computer and use it in GitHub Desktop.
Save edspencer/170622 to your computer and use it in GitHub Desktop.
=== Contents of ../config/environment.json ===
{
//define the app. files are loaded in this order
overrides : ['Ext.Ajax', 'Ext.Component'],
plugins : ['Printer', 'Notification', 'GroupTabPanel', 'ColumnTree', 'Exporter', 'PazPar2'],
models : ['Operator', 'Fund'],
controllers: ['Application', ']
//these are all defaults:
pluginsDir : '../vendor/plugins',
libDir : '../lib',
configDir : '../config',
overridesDir: '../config/overrides',
appDir : '../app',
vendor : ['mvc'],
mvcFilename : 'ext-mvc-all-min',
config : ['initialize', 'database', 'routes]
};
=== Contents of ../config/environments/development.json ===
{
autoLoadFiles: true //this would actually be true by default, and just triggers a load of all required application files
mvcFilename : 'ext-mvc-all' //show the more readable version in development mode
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment