Closed
Bug 572502
Opened 14 years ago
Closed 14 years ago
Set up Firefox Input staging site
Categories
(mozilla.org Graveyard :: Server Operations, task)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: wenzel, Assigned: fox2mike)
References
Details
Please set up a staging site for Firefox Input. It works just like all the other Django applications we've recently set up (such as tuxedo). In essence: - git clone git://github.com/fwenzel/reporter.git - make a virtualenv with Python 2.6, activate it - pip install -r requirements.txt - create settings_local.py and set up the necessary parts from settings.py in it, essentially: -- database -- admin (set that to my mozilla.com address) - follow the "getting started" section of the README file <http://github.com/fwenzel/reporter/blob/master/README.md>, including updating product details and initializing the search index. Also set up the cron jobs. (Suggested frequency: every 5min for the search index update, every hour for the product details update. Make sure to run these inside the virtualenv.) - hook up the wsgi entry point to Apache. Also, let me know the Django superuser credentials that you set up, please.
Comment 1•14 years ago
|
||
Two things to add: - staging URL: input.stage.mozilla.com - Can we get an idea of when this can get accomplished and who will be doing it? (Thanks!)
Comment 2•14 years ago
|
||
We've been using vendor directories instead of pip install -r. Can you set one up for this app?
Reporter | ||
Comment 3•14 years ago
|
||
(In reply to comment #2) > We've been using vendor directories instead of pip install -r. Can you set one > up for this app? CCing Jeff: Is there any documentation on how (or even why) to do this? Thanks :)
Comment 4•14 years ago
|
||
http://jbalogh.github.com/zamboni/topics/packages/ http://github.com/jbalogh/basket-lib/blob/master/README.rst
Comment 5•14 years ago
|
||
(In reply to comment #3) > CCing Jeff: Is there any documentation on how (or even why) to do this? Thanks > :) pip installing across an entire cluster was sort of messy, took a long time, and was fail if the pypi servers were down. Aside from that, oncall sysadmins aren't very familiar with pip and virtualenvs in general and confusion ensued.
Assignee | ||
Comment 6•14 years ago
|
||
(In reply to comment #1) > - staging URL: input.stage.mozilla.com Will probably be input-stage.mozilla.com/org > - Can we get an idea of when this can get accomplished and who will be doing > it? (Thanks!) Depends. Either Jeremy, Trevor or me.
Reporter | ||
Comment 7•14 years ago
|
||
Thanks, Jeremy and Jeff! I set up a vendor library as described and hooked it into manage.py. Please install the app as above, but instead of the ``pip`` step, follow these instructions: http://jbalogh.github.com/zamboni/topics/packages/#using-the-vendor-library ... replacing the vendor repository URL with: git://github.com/fwenzel/reporter-lib.git
Assignee | ||
Comment 8•14 years ago
|
||
Looks like I get dibs on this and since I like Fred so much and he asked over IRC...
Assignee: server-ops → shyam
Reporter | ||
Comment 9•14 years ago
|
||
<3
Assignee | ||
Comment 10•14 years ago
|
||
And so this is up and running. Crons have been setup as requested. had to install MySQL-python26, but the rest of the stuff worked as expected for the most part. http://input.stage.mozilla.com/ is the final URL.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 11•14 years ago
|
||
Seems to work just fine, thanks! I'll file further bugs if we need anything else. Also note that we'd appreciate setting up prod probably on Monday, so Shyam will once again get to work his magic ;).
Status: RESOLVED → VERIFIED
Updated•9 years ago
|
Product: mozilla.org → mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•