~sahana-eden-jp/sahana-eden/vol

Viewing all changes in revision 1370.1.1.

  • Committer: The Dod
  • Date: 2010-10-21 20:43:45 UTC
  • mto: This revision was merged to the branch mainline in revision 1373.
  • Revision ID: nonboong@nobita-20101021204345-hc1l9d085jv8v67n
A web-friendly version of the "skeletons" proposal.
* Deployment-specific files are not bzr-tracked.
* There are bzr-tracked *templates* of these files at deployment-templates.
* models/000_1st_run.py checks whether live copies of these files exist.
* If not - they are copied from deployment-templates.
* The template of 000_config.py raises an informative "edit me" 501 error.
If any files are copied, 000_1st_run.py raises the informative 501.
This is needed because on 1st run, 000_config.py doesn't exist yet.
Perhaps the 501 can be replaced with something fancier.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: