Difference between revisions of "Website:Contribute from GitHub"

From WormBaseWiki
Jump to navigationJump to search
Line 6: Line 6:
 
1. Go to [https://github.com/WormBase/website/blob/staging/root/templates/config/external_urls https://github.com/WormBase/website/blob/staging/root/templates/config/external_urls]
 
1. Go to [https://github.com/WormBase/website/blob/staging/root/templates/config/external_urls https://github.com/WormBase/website/blob/staging/root/templates/config/external_urls]
 
Make sure you're on the <code>staging</code> branch.
 
Make sure you're on the <code>staging</code> branch.
[[File:External_urls_1.png]]
+
[[File:External_urls_1.png|800px]]
 +
 
 
2. Click on <code>edit</code>. The code will become an interactive text editor where you can make your changes.  
 
2. Click on <code>edit</code>. The code will become an interactive text editor where you can make your changes.  
  
Line 20: Line 21:
 
</pre>
 
</pre>
  
3. When you are done editing the file, scroll to the bottom.
+
3. When you are done editing the file, scroll to the bottom. Fill in '''commit summary''' and '''extended description'''.
 +
 
 +
[[File:Screenshot-2.png|800px]]
 +
 
 +
4. When you're ready to save your changes, click on <code>commit changes</code>. In a few minutes your changes will be available on [http://staging.wormbase.org staging.wormbase.org]
  
[[File:Screenshot-2.png]]
+
The web team will bring your changes over to production once everything is thoroughly tested and ready.

Revision as of 18:37, 18 April 2013

If you are a member of the WormBase project on github - you can help us maintain the website! Right from your browser.


Maintain external links

1. Go to https://github.com/WormBase/website/blob/staging/root/templates/config/external_urls Make sure you're on the staging branch. External urls 1.png

2. Click on edit. The code will become an interactive text editor where you can make your changes.

You can help us by adding new entries or maintaining current entries. All entries should be in the form:

 Example 
   = { description =  'Short description of this resource, will appear when hovering over link'
       maintainer  =  'John Smith',
       email       =  'john@example.org',
       base        = 'http://www.example.org/'
       search      = 'http://www.example.org/search?q=%s'
     }

3. When you are done editing the file, scroll to the bottom. Fill in commit summary and extended description.

Screenshot-2.png

4. When you're ready to save your changes, click on commit changes. In a few minutes your changes will be available on staging.wormbase.org

The web team will bring your changes over to production once everything is thoroughly tested and ready.