Difference between revisions of "Core developer introduction"

From Creative Commons
Jump to: navigation, search
(Get cc packages set up with zc.buildout)
(Get cc packages set up with zc.buildout)
 
Line 18: Line 18:
 
* cc.api
 
* cc.api
 
* deedscraper
 
* deedscraper
 +
 +
Next:
  
 
Configure buildout so it takes less than your lifetime to complete: http://www.cynapse.com/blog/cynin-buildout-low-bandwidth-try-these-settings
 
Configure buildout so it takes less than your lifetime to complete: http://www.cynapse.com/blog/cynin-buildout-low-bandwidth-try-these-settings
Line 25: Line 27:
  
 
   python bootstrap.py && ./bin/buildout
 
   python bootstrap.py && ./bin/buildout
 +
 +
Next, you'll need the RDF library, which comes from Redland (you need the redland-bindings package configured with --enable-python):
 +
 +
http://librdf.org
  
 
=== Get server running ===
 
=== Get server running ===

Latest revision as of 06:02, 18 April 2013


First week or two: getting acclimated

Server / git access

  • Generate SSH key
  • Coordinate with nkinkade about getting on servers
  • Coordinate about getting git access

Get cc packages set up with zc.buildout

Do git checkouts *via ssh* for all of these packages:

  • cc.license
  • license.rdf
  • cc.engine
  • i18n
  • cc.api
  • deedscraper

Next:

Configure buildout so it takes less than your lifetime to complete: http://www.cynapse.com/blog/cynin-buildout-low-bandwidth-try-these-settings

You should then set up zc.buildout. For more about what zc.buildout is, let's talk on the phone.

 python bootstrap.py && ./bin/buildout

Next, you'll need the RDF library, which comes from Redland (you need the redland-bindings package configured with --enable-python):

http://librdf.org

Get server running

In cc.engine:

 ./bin/paster serve cc.engine.ini --reload

Get cross-package virtualenv working

http://labs.creativecommons.org/2010/03/16/using-virtualenv-and-zc-buildout-together/

This will be important when you have to work on multiple packages that affect each other at once.

Reading materials

You aren't expected to completely grasp all of this immediately.

Some general CC pages you should read:

Backups!

You should have the machine you work on have backups done regularly and automatically. We have some in-house backup machines, but you can backup locally, even to an external drive. You just need to backup your data.

Some of us like using Dirvish for this.

Start working on tickets

EG, with Jon Palecek, we're starting with:

http://wiki.creativecommons.org/Clarity_Project

Talk and pick out the appropriate tickets