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

m
 
(20 intermediate revisions by 9 users not shown)
Line 5: Line 5:
The best way to learn about how to work with the www.mozilla.org site is to ask questions. Community members are happy to help, but it can be difficult to know who to talk to. Here are a few good places to go with questions:  
The best way to learn about how to work with the www.mozilla.org site is to ask questions. Community members are happy to help, but it can be difficult to know who to talk to. Here are a few good places to go with questions:  


Email: [http://groups.google.com/group/mozilla.dev.mozilla-org/ dev-mozilla-org]  
Email: [http://groups.google.com/group/mozilla.dev.mozilla-org/ mozilla.dev.mozilla-org]  


Chat: [irc://irc.mozilla.org/siteplanning #siteplanning on irc.mozilla.org]  
Chat: [irc://irc.mozilla.org/siteplanning #siteplanning on irc.mozilla.org]  


Phone: [[Mozilla.org:Planning#Planning_Meetings|Monthly planning meetings]]  
Phone: [[Mozilla.org:Planning#Planning_Meetings|Monthly planning meetings]]


= Bugzilla  =
= Bugzilla  =
Line 48: Line 48:


=== Repository  ===
=== Repository  ===
'''Note: mozilla.org is setup differently that most Mozilla web properties''', so read this section closely before committing any code.


Location of repository: http://svn.mozilla.org/projects/mozilla.org/trunk/  
Both stage and production '''auto-update from svn'''. There is no traditional deployment process, so be careful.
 
Work locally, test in the stage branch, before merging to trunk (live).
 
==== Stage ====
Location of repository: http://svn.mozilla.org/projects/mozilla.org/branches/staging/
 
==== Production ====
Location of repository: http://svn.mozilla.org/projects/mozilla.org/trunk/


=== Authentication  ===
=== Authentication  ===
Line 55: Line 64:
Access to the repository is based on either your LDAP account or on an SSH key. People have reported problems trying to use SVN+SSH though, so LDAP authentication is the recommended option (the commands below are based on LDAP authentication).  
Access to the repository is based on either your LDAP account or on an SSH key. People have reported problems trying to use SVN+SSH though, so LDAP authentication is the recommended option (the commands below are based on LDAP authentication).  


If you need an SVN account or if you have one and need permission to edit the www.mozilla.org files, please [https://bugzilla.mozilla.org/enter_bug.cgi?product=mozilla.org;component=Server%20Operations file a bug] to request access. For people without existing Mozilla commit rights, please follow the process described in [http://www.mozilla.org/hacking/committer/ becoming a committer].  
If you need an SVN account or if you have one and need permission to edit the www.mozilla.org files, please [https://bugzilla.mozilla.org/enter_bug.cgi?product=mozilla.org;component=Repository%20Account%20Requests file a bug] to request access. For people without existing Mozilla commit rights, please follow the process described in [http://www.mozilla.org/hacking/committer/ becoming a committer].


=== Commands  ===
=== Commands  ===
Line 91: Line 100:
==== TODO: More Guides  ====
==== TODO: More Guides  ====


More guides are coming for Windows and Ubuntu to help developers get up and running on hacking Mozweb.  
More guides are coming for Windows and Ubuntu to help developers get up and running on hacking Mozweb.
 
==== Ubuntu ====
 
* Do 1, 2 and optionally 3 from the instructions below
* You need php5 and php5-curl installed ("sudo apt-get install php5 php5-curl")
* You need to enable the "Actions" Apache module ("a2enmod actions")
* You need to add "mozilla.dev" to the 127.0.0.1 line in /etc/hosts
* You need a file in /etc/apache2/sites-enabled with the following contents:
 
<VirtualHost mozilla.dev:80>
    ServerName mozilla.dev
    DocumentRoot /path/to/your/checkout
    AddType application/x-httpd-php .php .html
    DirectoryIndex index.php index.html
    Options -Indexes
    RewriteEngine On
    RewriteMap toupper int:toupper
</VirtualHost>


==== Generic Setup  ====
==== Generic Setup  ====
Line 113: Line 141:
*[http://www.mozilla.org/contribute/writing/guidelines.html mozilla.org Documentation Style Guide]  
*[http://www.mozilla.org/contribute/writing/guidelines.html mozilla.org Documentation Style Guide]  
*[http://www.mozilla.org/contribute/writing/markup.html mozilla.org Markup Reference]  
*[http://www.mozilla.org/contribute/writing/markup.html mozilla.org Markup Reference]  
*Design style guide (coming soon)  
*Design style guide (coming soon)
*[http://www.besttermpaper.com Research papers]
*[http://www.standoutessay.com/essay-writers essay writers]
*[http://phd-thesis.com/ phd thesis]
5

edits