My favorites | Sign in
Project Logo
                
Search
for
Updated Feb 05, 2009 by mcgruff.scruff
HowToGetGetpaidDotFormgen  
How to get getpaid.formgen

Introduction

I saw (on AugustSprint) that there was a need to create this page (and a page for how to use getpaid.formgen, but one thing at a time!). Because getpaid.formgen is not available as an egg yet (as of January 2009), getting it can be a little challenging. I hope this saves you some time!

Details

Because getpaid.formgen is not available as an egg yet, you need to find some way to get the code. You can either

Now, you need to let your instance know about the code.

If you're not using Buildout: (untested)

  1. Because getpaid.formgen is not in the magic "Products" namespace, you have to copy or link the files under zope2/lib/python/getpaid/formgen.
  2. cd my-site-path/zope2/lib/python.
  3. ls getpaid. See if there's already a getpaid folder (there probably is).
  4. If there is, cd getpaid. Else, mkdir getpaid; cd getpaid.
  5. To link: ln -s path-to-svn-checkout/getpaid.formgen/getpaid/formgen ./formgen. To copy: cp -R path-to-svn-checkout/getpaid.formgen/getpaid/formgen/* ./formgen.
  6. getpaid.formgen depends on Products.DataGridField. Get it here: http://plone.org/products/datagridfield.

If you're using Buildout:

  1. You can use getpaid.formgen as a development egg by copying or linking the files under src/.
  2. cd buildout-path/src.
  3. To link: ln -s path-to-svn-checkout/getpaid.formgen ./getpaid.formgen. To copy (untested): cp -R path-to-svn-checkout/getpaid.formgen ./getpaid.formgen.
  4. cd .. to get to your buildout root again.
  5. edit your buildout.cfg with something like nano buildout.cfg and make the following additions:
    • [buildout]
      eggs =
          getpaid.formgen
      develop = 
         src/getpaid.formgen
      
      [instance]
      zcml =
          getpaid.formgen
    • That is, if you don't have a list of eggs in the [buildout] part of your buildout.cfg, add it with getpaid.formgen as a value. If you have it, add getpaid.formgen to the list of values. [instance] is what my plone.recipe section is called; yours may be different.
  6. ./bin/buildout -vvvv
    • You can't simply run ./bin/buildout -No because getpaid.formgen will tell zc.buildout to grab Products.DataGridField for you.

Finally, fire up your instance.

You should see getpaid.formgen listed in mydomain:myport/Control_Panel/Products/manage_main and mydomain:myport/mySite/portal_quickinstaller/manage_installProductsForm

Install the product.

Also, install DataGridField.


Comment by dana.rawding, Aug 13, 2009

When I follow these instruction I get an error that setup.py is not found. The only place I could find setup.py is at: http://getpaid.googlecode.com/svn/getpaid.formgen/trunk/

If I download it and try to run buildout I'm getting all sorts of path errors from setup.py. Any ideas?


Sign in to add a comment
Hosted by Google Code