Closed Bug 527524 Opened 13 years ago Closed 13 years ago

Set up new "staging" site for www.mozilla.org

Categories

(mozilla.org Graveyard :: Server Operations, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: reed, Assigned: chizu)

References

()

Details

Need a staging site set up for www.mozilla.org work.

URL needs to be http://www-stage.mozilla.org/.

Directions:
1) Checkout http://svn.mozilla.org/projects/mozilla.org/branches/staging from SVN to some directory
2) Copy includes/config.inc.php-dist to includes/config.inc.php and edit appropriately (pretty sure only $config['server_name'] and $config['file_root'] need to be set)
3) Add cronjob for front-page feed parser. Example would be: 
*/10 * * * * root cd /data/www/www.mozilla.org/includes/; ./feed-parser.php -c ./feed-parser-config.xml 
4) Add apache vhost (can just copy www.mozilla.org from production and s/www/www-stage/

Let me know if you have any questions. Thanks!
What's your time frame for this?
(In reply to comment #1)
> What's your time frame for this?

A week or so... No particular date, but it's also one of two P1s for www.mozilla.org, so two weeks at the most, if at all possible.

Based on my experience, I estimate that this will take ~15 min. or less to set up, if that helps in your planning.
We already have a www-stage.mozilla.org, based on http://svn.mozilla.org/projects/mozilla.org/trunk

Is this sufficient? If not, we'll need to discuss nomenclature for the domain name.
(In reply to comment #3)
> We already have a www-stage.mozilla.org, based on
> http://svn.mozilla.org/projects/mozilla.org/trunk
> 
> Is this sufficient? If not, we'll need to discuss nomenclature for the domain
> name.

trunk is the production site, so I guess www.mozilla.org and www-stage.mozilla.org are identical currently. This should make setting up the staging site easy. So, try the following: `svn switch http://svn.mozilla.org/projects/mozilla.org/branches/staging` within the www-stage directory. Also, I still would like to make sure that the vhosts for www.mozilla.org and www-stage.mozilla.org are identical (besides the names/paths/etc.).
Assignee: server-ops → thardcastle
D    images/promos
D    images/ample.png
U    .htaccess
U    contribute/index.html
D    causes/grants/IFOSSLR.html
D    causes/grants/OVA.html
D    causes/grants/FSCONS.html
D    causes/grants/FirefoxDAISY.html
D    causes/grants/CreativeCommons.html
D    causes/grants/URJC.html
U    community/mirrors.html
U    projects/mozilla-based.html
D    projects/fennec/1.0b5
U    projects/security/secgrouplist.html
U    projects/calendar/sunbird/index.html
U    style/screen.css
U    security/announce/2009/mfsa2009-45.html
U    security/announce/2009/mfsa2009-59.html
U    security/announce/2009/mfsa2009-46.html
U    about/owners.html
Updated to revision 55942.

I replaced the existing vhost config with a copy of production.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.