Skip to content

Triangle Python Users Group: TriPython (formerly TriZPUG)

Sections
Personal tools
You are here: Home » Boot Camps » Triangle Plone Boot Camp 2005 » Wiki » February followup sprint setup
Views

February followup sprint setup

Document Actions
last edited 12 years ago by cbc
  1. Go ahead and make sure you've done the January Sprint setup.
  2. In your test Plone site, be sure to add PloneHelpCenter as a product in your plone_control_panel.
  3. See if you understand what we think we understand about the desired Target PHC Workflow.
  4. Setup PloneTestCase like Tom Bryan showed us at the last TriZPUG meeting:

    • Export ZopeTestCase from the Collective  and place in your $ZOPE_HOME/lib/python/Testing (not Products!)
    • Put test.py in your $ZOPE_HOME/bin (overwriting the one that is there).
    • Linux: make test.py script executable. Make sure the first line reads:
      #!/usr/bin/env /path/to/zope's/python2.3/bin/python
    • Export PloneTestCase from the Collective and place in your $INSTANCE_HOME Products directory.
    • cd $INSTANCE_HOME
    • Linux:
      $ZOPE_HOME/bin/test.py -v \
      --config-file etc/zope.conf \
      --libdir Products/PloneProductToTest
    • Windows:
      python $ZOPE_HOME/bin/test.py -v \
      --config-file etc/zope.conf \
      --libdir Products/PloneProductToTest
  5. In $INSTANCE_HOME/Products/PloneHelpCenter/Testing/__init.py__, uncomment the three lines to CreateTestData in portal_migration.
  6. In portal_migrations/Setup, under "PloneHelpCenter Test Data," check Create Test Data and then click "Update." All the other PHC test data shown (Create Test Users, Create Test PloneHelpCenter, Create Test Tutorials, and Create Test Howtos) will be created by simply checking Create Test Data.

TriPython endorses:

PyLadies RDU

September 14-16, 2016:

PyData Carolinas 2016

« January 2018 »
Su Mo Tu We Th Fr Sa
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
2018-01-10
18:00-21:00 Chapel Hill Project Night
2018-01-15
18:00-21:00 Durham Project Night
Orders over $29.95 qualify for free shipping in the US.