Your SlideShare is downloading. ×
Buildout and Plone
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Buildout and Plone

22,395

Published on

A presentation outlining some Buildout basics particularly in the context of setting up and maintaining a Plone instance.

A presentation outlining some Buildout basics particularly in the context of setting up and maintaining a Plone instance.

Published in: Technology, Self Improvement
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
22,395
On Slideshare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
40
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Buildout and Plone Tim Knapp Emerge Technology www.emergetec.com
  • 2. Why Buildout?
  • 3. Consistency
  • 4. Dependency Management
  • 5. Speeds Up Deployment
  • 6. Buildout Basics
  • 7. Configuration File [buildout] parts =     zope     plone     instance [plone] recipe = plone.recipe.plone [zope2] recipe = plone.recipe.zope2instance user = admin:admin eggs = ${plone:eggs} products = ${plone:products} Buildout and Plone NZPUG Meeting Dec 2008 / Tim Knapp
  • 8. Advanced Syntax Variable Substitution ${parts:option} ${plone:eggs} ${buildout:directory} option = ${buildout:directory}/somefolder Option Addition and Removal options = foo bar options += baz options -= foo Buildout and Plone NZPUG Meeting Dec 2008 / Tim Knapp
  • 9. Buildout Directory ● bin/ ● bootstrap.py ● buildout.cfg ● develop-eggs/ ● downloads/ ● eggs/ ● parts/ ● products/ ● src/ Buildout and Plone NZPUG Meeting Dec 2008 / Tim Knapp
  • 10. Buildout Options ● bin-directory ● develop-eggs-directory ● eggs-directory ● parts ● parts-directory ● log-level Buildout and Plone NZPUG Meeting Dec 2008 / Tim Knapp
  • 11. Parts [buildout] parts =     instance [instance] recipe = plone.recipe.zope2instance user = admin:admin eggs = ${plone:eggs} archetypes.schemaextender zcml = archetypes.schemaextender products = ${plone:products} environment­vars =      TZ Pacific/Auckland http­address = 8080 zeo­address = 8000 debug­mode = on verbose­security = on event­log­level = debug Buildout and Plone NZPUG Meeting Dec 2008 / Tim Knapp
  • 12. Plone Recipes [buildout] parts =     zope2     plone     instance [plone] recipe = plone.recipe.plone [zope2] recipe = plone.recipe.zope2install [instance] recipe = plone.recipe.zope2instance user = admin:admin eggs = ${plone:eggs} products = ${plone:products} Buildout and Plone NZPUG Meeting Dec 2008 / Tim Knapp
  • 13. The Command Line
  • 14. Command Line Options $cd path/to/my/buildout $python2.4 bootstrap.py Creating directory 'mybuildout/bin'. Creating directory 'mybuildout/parts'. Creating directory 'mybuildout/develop­eggs'. Generated script 'mybuildout/bin/buildout'. $ bin/buildout $ bin/instance start Buildout and Plone NZPUG Meeting Dec 2008 / Tim Knapp
  • 15. Advanced CLI Options ● -v and -q – increase and decrease verbosity ● -n and -N – Newest and non-newest modes ● -O and -o – online and offline mode Buildout and Plone NZPUG Meeting Dec 2008 / Tim Knapp
  • 16. Wrapping Up ● Buildout Basics – Configuration File – Buildout Directory – Buildout Options – Parts – Recipes ● Command Line Buildout and Plone NZPUG Meeting Dec 2008 / Tim Knapp

×