Bedrock/Get dev server usable: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
This feature will track getting the dev server usable and working the way we except. There's still a few things here and there that are broken, so this isn't complete yet.
This feature will track getting the dev server usable and working the way we except. There's still a few things here and there that are broken, so this isn't complete yet.


 
== DEV = True ==
----------
DEV = True
----------


The dev server needs the config value DEV set to True. The locale middleware uses this to detect activated locales; if DEV is False than it only allows locales specified in a hardcoded list in the settings. If it's True than it allows any locales available on the filesystem to be served.
The dev server needs the config value DEV set to True. The locale middleware uses this to detect activated locales; if DEV is False than it only allows locales specified in a hardcoded list in the settings. If it's True than it allows any locales available on the filesystem to be served.

Revision as of 20:23, 6 December 2011


(You can view all of the features at Mozilla.com/Bedrock#Roadmap_.26_Features.)

Please use the "Edit with Form" link above to edit
Priority bedrock-priority::P1
Feature bedrock-feature::Get development server usable
Stage bedrock-stage::Inbox
Target bedrock-target::2011/12/15
Owner bedrock-owner::
Notes bedrock-notes::Working, but need tweaks

Description:

bedrock needs a dev server. We have this working at www-dev.allizom.org with the /b/ prefix: if the URL has that prefix, it is passed to bedrock.

This feature will track getting the dev server usable and working the way we except. There's still a few things here and there that are broken, so this isn't complete yet.

DEV = True

The dev server needs the config value DEV set to True. The locale middleware uses this to detect activated locales; if DEV is False than it only allows locales specified in a hardcoded list in the settings. If it's True than it allows any locales available on the filesystem to be served.

I put DEV=True into the base settings to get the dev site working for now, but the obviously should not be the default. We need to remove this once this bug is completed:

https://bugzilla.mozilla.org/show_bug.cgi?id=708042