Development/MusicBrainz Server Environment Variables

From MusicBrainz Wiki
< Development
Revision as of 08:38, 2 March 2012 by Jokipii (talk | contribs) (Category:Development)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Environment variables

The musicbrainz server understands the following environment variables, these may be useful during development:


This is the catalyst debug output, it is enabled by default. You can set it to "0" if you're not interested in this data.


Set this to "1" to print sql queries on the console (including query times).


Set this to "1" when you want to run the server against the test database, this is typically used to debug selenium tests:

 $ script/ ; MUSICBRAINZ_USE_TEST_DATABASE=1 script/ -r