Mozilla.org/How to Work with Site: Difference between revisions

→‎Staging Site: Added install guide for MozWeb local instance on OSX 10.5+ Linked and promises more guides.
m (Undo revision 166744 by Emmanuelm (Talk))
(→‎Staging Site: Added install guide for MozWeb local instance on OSX 10.5+ Linked and promises more guides.)
Line 67: Line 67:
<code>svn ci -m "Comment goes here" foo.html</code>
<code>svn ci -m "Comment goes here" foo.html</code>


=Staging Site=
= Staging Site =


If you'd like to look at your changes before committing them to the live site, there are a couple of options&mdash;viewing things on our staging site or viewing them locally.
If you'd like to look at your changes before committing them to the live site, there are a couple of options—viewing things on our staging site or viewing them locally.  


There is a staging site available at http://www-stage.mozilla.org. However, this isn't the best place to work on changes since the site is set up just to automatically pass on changes to the live site (this gives you a chance to check on things after committing a change to the repository).
There is a staging site available at http://www-stage.mozilla.org. However, this isn't the best place to work on changes since the site is set up just to automatically pass on changes to the live site (this gives you a chance to check on things after committing a change to the repository).  


Another staging option is to run a version of the site locally based on the files checked out from the repository. This set-up for your computer is documented below (''note that we could use some help with making these instructions more user-friendly''):
Another staging option is to run a version of the site locally based on the files checked out from the repository. This set-up for your computer is documented below (''note that we could use some help with making these instructions more user-friendly''):


== Localhost Site Setup ==
The following directions will show you how to setup a version of MozWeb ([http://mozilla.org mozilla.org]) on your local machine under the domain name [http://mozilla.dev mozilla.dev]
'''Note:''' ''Once you are done with this guide, [http://mozilla.dev mozilla.dev] should link to your local instance of MozWeb''.
=== [[MAC OSX Setup]] ===
This setup was conducted on an Intel Mac running OS X 10.5.8 which was the latest version of Leopard at the time of this writing.  10.6 (Snow Leopard) has just come out but, this setup has not been tested on Snow Leopard.
''If people could test the setup and give feedback for the setup on OS X 10.4+ (Tiger) and 10.6 (Snow Leopard)''
=== Setup for Other Platforms ===
==== TODO: More Guides ====
More guides are coming for Windows and Ubuntu to help developers get up and running on hacking Mozweb.
==== Generic Setup ====
1) Check out [http://svn.mozilla.org/projects/mozilla.org/trunk/ trunk] somewhere
1) Check out [http://svn.mozilla.org/projects/mozilla.org/trunk/ trunk] somewhere


12

edits