Closed Bug 872704 Opened 12 years ago Closed 12 years ago

[bedrock-dev] update apache config for new layout

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task)

All
Other
task
Not set
minor

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: pmac, Assigned: jd)

Details

We upgraded playdoh and this has moved many files around. One such move is the wsgi file. wsgi/playdoh.wsgi -> wsgi/bedrock.wsgi This change will need to be made in apache. There could be other issues that we want to document here before requesting these changes be made in stage and prod.
Assignee: server-ops-webops → jcrowe
Ah yes. the settings/local.py file will also now need to move to bedrock/settings/local.py This file is under IT control.
The apache config file has been updated. The local settings file has been moved. These changes are now live on the dev server, please update this bug with any additional changes that you need. Thanks For the future we need to know: Remove the line 'from settings import *' from local.py Add the line 'import logging' to local.py Add the line 'DATABASES = { 'default': { 'ENGINE': 'django.db.backends.dummy', }, }' to local.py PWD='/data/bedrock-dev/src/www-dev.allizom.org-django' rm -rf $PWD/bedrock/apps rm -rf $PWD/bedrock/settings rm -rf $PWD/bedrock/vendor-local/src/django
Perfect. Thanks again :jd!
Also in 'update-www-dev.allizom.org-django.sh' we needed to change touch wsgi/playdoh.wsgi to touch wsgi/bedrock.wsgi
We've decided to remove some pain from this deployment to the other envs and not change the name of the wsgi file. Unfortunately we need to revert some of these things: Revert apache config change for wsgi file name. Revert deploy script change for wsgi file name. That should be it. We'll simply not request this for stage, prod, and the 3 demo envs. Thanks again :jd.
I have reverted those two changes, you should see them live within 30min.
Perfect. Thanks!
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.