SlideShare una empresa de Scribd logo
1 de 17
Descargar para leer sin conexión
Buildout and Plone
        Tim Knapp
     Emerge Technology
    www.emergetec.com
Why Buildout?
Consistency
Dependency Management
Speeds Up Deployment
Buildout Basics
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
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
Buildout Directory
 ●
     bin/
 ●
     bootstrap.py
 ●
     buildout.cfg
 ●
     develop-eggs/
 ●
     downloads/
 ●
     eggs/
 ●
     parts/
 ●
     products/
 ●
     src/
Buildout and Plone
NZPUG Meeting Dec 2008 / Tim Knapp
Buildout Options
 ●
     bin-directory
 ●
     develop-eggs-directory
 ●
     eggs-directory
 ●
     parts
 ●
     parts-directory
 ●
     log-level




Buildout and Plone
NZPUG Meeting Dec 2008 / Tim Knapp
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
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
The Command Line
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
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
Wrapping Up
 ●
     Buildout Basics
      –   Configuration File
      –   Buildout Directory
      –   Buildout Options
      –   Parts
      –   Recipes
 ●
     Command Line



Buildout and Plone
NZPUG Meeting Dec 2008 / Tim Knapp
Buildout and Plone

Más contenido relacionado

Similar a Buildout and Plone

Buildout: How to maintain big app stacks without losing your mind
Buildout: How to maintain big app stacks without losing your mindBuildout: How to maintain big app stacks without losing your mind
Buildout: How to maintain big app stacks without losing your mindDylan Jay
 
Buildout: Fostering Repeatability
Buildout: Fostering RepeatabilityBuildout: Fostering Repeatability
Buildout: Fostering RepeatabilityClayton Parker
 
PyGrunn - Buildout presentation
PyGrunn - Buildout presentationPyGrunn - Buildout presentation
PyGrunn - Buildout presentationKim Chee Leong
 
Plone deployment made easy
Plone deployment made easyPlone deployment made easy
Plone deployment made easyKim Chee Leong
 
Adventures in infrastructure as code
Adventures in infrastructure as codeAdventures in infrastructure as code
Adventures in infrastructure as codeJulian Simpson
 
yusukebe in Yokohama.pm 090909
yusukebe in Yokohama.pm 090909yusukebe in Yokohama.pm 090909
yusukebe in Yokohama.pm 090909Yusuke Wada
 
ZopeSkel & Buildout packages
ZopeSkel & Buildout packagesZopeSkel & Buildout packages
ZopeSkel & Buildout packagesQuintagroup
 
Systems Automation with Puppet
Systems Automation with PuppetSystems Automation with Puppet
Systems Automation with Puppetelliando dias
 
Marek Kuziel - Deploying Django with Buildout
Marek Kuziel - Deploying Django with BuildoutMarek Kuziel - Deploying Django with Buildout
Marek Kuziel - Deploying Django with Buildoutmarekkuziel
 
Using Buildout to Develop and Deploy Python Projects
Using Buildout to Develop and Deploy Python ProjectsUsing Buildout to Develop and Deploy Python Projects
Using Buildout to Develop and Deploy Python ProjectsClayton Parker
 
Set Focus SQL Portfolio
Set Focus SQL PortfolioSet Focus SQL Portfolio
Set Focus SQL Portfoliobrentbybee
 
How to install squid proxy on server or how to install squid proxy on centos o
How to install squid proxy on server  or how to install squid proxy on centos oHow to install squid proxy on server  or how to install squid proxy on centos o
How to install squid proxy on server or how to install squid proxy on centos oProxiesforrent
 
Dexterity in 15 minutes or less
Dexterity in 15 minutes or lessDexterity in 15 minutes or less
Dexterity in 15 minutes or lessrijk.stofberg
 
PostgreSQL Portland Performance Practice Project - Database Test 2 Howto
PostgreSQL Portland Performance Practice Project - Database Test 2 HowtoPostgreSQL Portland Performance Practice Project - Database Test 2 Howto
PostgreSQL Portland Performance Practice Project - Database Test 2 HowtoMark Wong
 
gvNIX Rapid Application Development for Java
gvNIX Rapid Application Development for JavagvNIX Rapid Application Development for Java
gvNIX Rapid Application Development for JavaDISID
 
Automatisation in development and testing - within budget
Automatisation in development and testing - within budgetAutomatisation in development and testing - within budget
Automatisation in development and testing - within budgetDavid Lukac
 
Getting started with open mobile development on the Openmoko platform
Getting started with open mobile development on the Openmoko platformGetting started with open mobile development on the Openmoko platform
Getting started with open mobile development on the Openmoko platformJean-Michel Bouffard
 

Similar a Buildout and Plone (20)

Buildout: How to maintain big app stacks without losing your mind
Buildout: How to maintain big app stacks without losing your mindBuildout: How to maintain big app stacks without losing your mind
Buildout: How to maintain big app stacks without losing your mind
 
Plone Einführung
Plone EinführungPlone Einführung
Plone Einführung
 
Buildout: Fostering Repeatability
Buildout: Fostering RepeatabilityBuildout: Fostering Repeatability
Buildout: Fostering Repeatability
 
PyGrunn - Buildout presentation
PyGrunn - Buildout presentationPyGrunn - Buildout presentation
PyGrunn - Buildout presentation
 
Plone deployment made easy
Plone deployment made easyPlone deployment made easy
Plone deployment made easy
 
Adventures in infrastructure as code
Adventures in infrastructure as codeAdventures in infrastructure as code
Adventures in infrastructure as code
 
yusukebe in Yokohama.pm 090909
yusukebe in Yokohama.pm 090909yusukebe in Yokohama.pm 090909
yusukebe in Yokohama.pm 090909
 
ZopeSkel & Buildout packages
ZopeSkel & Buildout packagesZopeSkel & Buildout packages
ZopeSkel & Buildout packages
 
Using Maven2
Using Maven2Using Maven2
Using Maven2
 
Systems Automation with Puppet
Systems Automation with PuppetSystems Automation with Puppet
Systems Automation with Puppet
 
Marek Kuziel - Deploying Django with Buildout
Marek Kuziel - Deploying Django with BuildoutMarek Kuziel - Deploying Django with Buildout
Marek Kuziel - Deploying Django with Buildout
 
Becoming a Git Master
Becoming a Git MasterBecoming a Git Master
Becoming a Git Master
 
Using Buildout to Develop and Deploy Python Projects
Using Buildout to Develop and Deploy Python ProjectsUsing Buildout to Develop and Deploy Python Projects
Using Buildout to Develop and Deploy Python Projects
 
Set Focus SQL Portfolio
Set Focus SQL PortfolioSet Focus SQL Portfolio
Set Focus SQL Portfolio
 
How to install squid proxy on server or how to install squid proxy on centos o
How to install squid proxy on server  or how to install squid proxy on centos oHow to install squid proxy on server  or how to install squid proxy on centos o
How to install squid proxy on server or how to install squid proxy on centos o
 
Dexterity in 15 minutes or less
Dexterity in 15 minutes or lessDexterity in 15 minutes or less
Dexterity in 15 minutes or less
 
PostgreSQL Portland Performance Practice Project - Database Test 2 Howto
PostgreSQL Portland Performance Practice Project - Database Test 2 HowtoPostgreSQL Portland Performance Practice Project - Database Test 2 Howto
PostgreSQL Portland Performance Practice Project - Database Test 2 Howto
 
gvNIX Rapid Application Development for Java
gvNIX Rapid Application Development for JavagvNIX Rapid Application Development for Java
gvNIX Rapid Application Development for Java
 
Automatisation in development and testing - within budget
Automatisation in development and testing - within budgetAutomatisation in development and testing - within budget
Automatisation in development and testing - within budget
 
Getting started with open mobile development on the Openmoko platform
Getting started with open mobile development on the Openmoko platformGetting started with open mobile development on the Openmoko platform
Getting started with open mobile development on the Openmoko platform
 

Más de knappt

Pythonic APIs - Anthony Baxter
Pythonic APIs - Anthony BaxterPythonic APIs - Anthony Baxter
Pythonic APIs - Anthony Baxterknappt
 
Plone dev 101 for djangonauts
Plone dev 101 for djangonautsPlone dev 101 for djangonauts
Plone dev 101 for djangonautsknappt
 
Plone in Business - Richard Shea
Plone in Business - Richard SheaPlone in Business - Richard Shea
Plone in Business - Richard Sheaknappt
 
Multimedia in Plone - Andy Nicholson
Multimedia in Plone - Andy NicholsonMultimedia in Plone - Andy Nicholson
Multimedia in Plone - Andy Nicholsonknappt
 
Making the Most of Plone's Content Types - Dan Jacka
Making the Most of Plone's Content Types - Dan JackaMaking the Most of Plone's Content Types - Dan Jacka
Making the Most of Plone's Content Types - Dan Jackaknappt
 
Rapid Application Development in Plone - Paul Roe
Rapid Application Development in Plone - Paul RoeRapid Application Development in Plone - Paul Roe
Rapid Application Development in Plone - Paul Roeknappt
 
What's New in Plone 4 - Tim Knapp
What's New in Plone 4 - Tim KnappWhat's New in Plone 4 - Tim Knapp
What's New in Plone 4 - Tim Knappknappt
 
Getting All Your Web Apps To Wear The Company Brand
Getting All Your Web Apps To Wear The Company BrandGetting All Your Web Apps To Wear The Company Brand
Getting All Your Web Apps To Wear The Company Brandknappt
 
Getting All Your Web Apps To Wear The Company Brand (JP)
Getting All Your Web Apps To Wear The Company Brand (JP)Getting All Your Web Apps To Wear The Company Brand (JP)
Getting All Your Web Apps To Wear The Company Brand (JP)knappt
 
An Introduction To Repoze
An Introduction To RepozeAn Introduction To Repoze
An Introduction To Repozeknappt
 

Más de knappt (10)

Pythonic APIs - Anthony Baxter
Pythonic APIs - Anthony BaxterPythonic APIs - Anthony Baxter
Pythonic APIs - Anthony Baxter
 
Plone dev 101 for djangonauts
Plone dev 101 for djangonautsPlone dev 101 for djangonauts
Plone dev 101 for djangonauts
 
Plone in Business - Richard Shea
Plone in Business - Richard SheaPlone in Business - Richard Shea
Plone in Business - Richard Shea
 
Multimedia in Plone - Andy Nicholson
Multimedia in Plone - Andy NicholsonMultimedia in Plone - Andy Nicholson
Multimedia in Plone - Andy Nicholson
 
Making the Most of Plone's Content Types - Dan Jacka
Making the Most of Plone's Content Types - Dan JackaMaking the Most of Plone's Content Types - Dan Jacka
Making the Most of Plone's Content Types - Dan Jacka
 
Rapid Application Development in Plone - Paul Roe
Rapid Application Development in Plone - Paul RoeRapid Application Development in Plone - Paul Roe
Rapid Application Development in Plone - Paul Roe
 
What's New in Plone 4 - Tim Knapp
What's New in Plone 4 - Tim KnappWhat's New in Plone 4 - Tim Knapp
What's New in Plone 4 - Tim Knapp
 
Getting All Your Web Apps To Wear The Company Brand
Getting All Your Web Apps To Wear The Company BrandGetting All Your Web Apps To Wear The Company Brand
Getting All Your Web Apps To Wear The Company Brand
 
Getting All Your Web Apps To Wear The Company Brand (JP)
Getting All Your Web Apps To Wear The Company Brand (JP)Getting All Your Web Apps To Wear The Company Brand (JP)
Getting All Your Web Apps To Wear The Company Brand (JP)
 
An Introduction To Repoze
An Introduction To RepozeAn Introduction To Repoze
An Introduction To Repoze
 

Último

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 

Último (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

Buildout and Plone

  • 1. Buildout and Plone Tim Knapp Emerge Technology www.emergetec.com
  • 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
  • 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