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)
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.
Reporter | ||
Updated•12 years ago
|
Assignee: server-ops-webops → jcrowe
Reporter | ||
Comment 1•12 years ago
|
||
Ah yes. the settings/local.py file will also now need to move to bedrock/settings/local.py
This file is under IT control.
Assignee | ||
Comment 2•12 years ago
|
||
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
Reporter | ||
Comment 3•12 years ago
|
||
Perfect. Thanks again :jd!
Assignee | ||
Comment 4•12 years ago
|
||
Also in 'update-www-dev.allizom.org-django.sh' we needed to change
touch wsgi/playdoh.wsgi
to
touch wsgi/bedrock.wsgi
Reporter | ||
Comment 5•12 years ago
|
||
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.
Assignee | ||
Comment 6•12 years ago
|
||
I have reverted those two changes, you should see them live within 30min.
Reporter | ||
Comment 7•12 years ago
|
||
Perfect. Thanks!
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 8•12 years ago
|
||
verified fixed https://www-dev.allizom.org/en-US/
Status: RESOLVED → VERIFIED
Updated•11 years ago
|
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Updated•6 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•