Bedrock/Get dev server usable
(You can view all of the features at Mozilla.com/Bedrock#Roadmap_.26_Features.)
Priority | P1 |
---|---|
Feature | Get development server usable |
Stage | Completed |
Target | 2011/12/15 |
Owner | |
Notes |
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.
View the dev server at: http://www-dev.allizom.org/channel
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: