Created
December 10, 2018 15:49
-
-
Save l34marr/5ecbbd8dea284a5b23c7b5f57bb0a6c2 to your computer and use it in GitHub Desktop.
develop.cfg for Plone 5.1.2 + Volto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################# | |
# | |
# Development Configuration | |
# ========================= | |
# | |
# This is a buildout configuration that sets up a development | |
# environment for Plone. It extends buildout.cfg. | |
# | |
# To use this configuration, run buildout via: | |
# | |
# bin/buildout -c develop.cfg | |
# | |
# This specifies develop.cfg as buildout's configuration file. This configuration | |
# file extends buildout.cfg, so that all the options from that file are | |
# automatically included. | |
# | |
# Included in the development configuration | |
# | |
# Common development tools: | |
# | |
# * mr.bob, a Python package-skeleton generator. With bobtemplates.plone | |
# it has supportfor common Plone development packages like content-type | |
# and theme packages. | |
# | |
# * mr.developer, a tool that automatically checks out source for | |
# add ons from a versioning system, then adds them to your | |
# development package list. | |
# | |
# * testrunner, which provides a command-line option to run | |
# test suites. | |
# | |
# * Diazo command-line tools: diazocompile and diazorun. Useful | |
# for debugging and understanding Diazo and plone.app.theming. | |
# See http://docs.diazo.org/en/latest/compiler.html | |
# | |
# * collective.checkdocs adds new distutils commands checkdocs and | |
# showdocs to validate restructured text in long_description | |
# field of Python eggs. | |
# | |
# * zest.releaser, a kit for managing the release cycle for Python | |
# packages. See https://pypi.python.org/pypi/zest.releaser. | |
# | |
# Common Customizations | |
# ===================== | |
# | |
# Add packages to the sources managed by mr.developer by adding them to the | |
# [sources] section below. | |
# | |
# Add packages to the test suite by adding them to the "test-packages" option | |
# in the [buildout] section below. | |
############################################ | |
# Sources | |
# ------- | |
# Specify packages under development here. | |
# | |
# See http://pypi.python.org/pypi/mr.developer for mr.developer source specifications. | |
# <name> = <kind> [key=value] <url> [path] [key=value] | |
# kind = The kind of repository. Currently supported are one of svn (>= 1.5), hg, git, cvs or fs. | |
# | |
[sources] | |
# Examples: to check out plonetheme.sunburst from Plone's svn, use: | |
# plonetheme.sunburst = svn https://svn.plone.org/svn/plone/plonetheme.sunburst/trunk | |
# | |
# To use a python package that is being developed in your src subdirectory, use: | |
# myproduct.betterplone = fs myproduct.betterplone | |
plone.restapi = git [email protected]:plone/plone.restapi.git branch=master | |
[buildout] | |
############################################ | |
# Test Packages | |
# ---------- | |
# Specify a list of packages that you wish to explicity include in your test suite. | |
# Base eggs are automatically included | |
# | |
test-packages = | |
# plonetheme.sunburst | |
############################################ | |
# Debug Mode | |
# ---------- | |
# Most development work is done with Zope/Plone started | |
# in foreground mode (bin/plonectl fg), which automatically | |
# turns on debug mode and causes Zope/Plone to stop on | |
# package loading errors. | |
# | |
# Note that debug mode makes Plone run *very* slowly due to | |
# extra filesystem checks and granular transmission of browser resources. | |
# | |
# If you're developing Plone add-ons, you should want to see | |
# deprecation warnings that let you know if you're using outmoded | |
# methods or modules. | |
deprecation-warnings = on | |
# | |
# Turning on verbose security may help diagnose security bugs. | |
# You'll also need to disable the intercepting of "unauthorized" | |
# errors in the error_log via the ZMI. | |
verbose-security = off | |
############################################ | |
# Less Commonly Changed Options | |
# ----------------------------- | |
# The remainder of the buildout mainly sets up the development | |
# environment based on the settings above. | |
# we're extending buildout.cfg | |
extends = | |
buildout.cfg | |
extensions += | |
mr.developer | |
eggs += | |
Products.DocFinderTab | |
plone.reload | |
plone.restapi | |
plone.app.mosaic | |
collective.folderishtypes [dexterity] | |
parts += | |
plonesite | |
robot-server | |
test | |
diazotools | |
checkdocs | |
mrbob | |
releaser | |
i18ndude | |
# mr.developer settings: | |
always-checkout = force | |
sources = sources | |
auto-checkout = * | |
[instance] | |
http-address = 8080 | |
zcml-additional = | |
<configure xmlns="http://namespaces.zope.org/zope" | |
xmlns:plone="http://namespaces.plone.org/plone"> | |
<plone:CORSPolicy | |
allow_origin="http://localhost:3000,http://127.0.0.1:3000" | |
allow_methods="DELETE,GET,OPTIONS,PATCH,POST,PUT" | |
allow_credentials="true" | |
expose_headers="Content-Length,X-My-Header" | |
allow_headers="Accept,Authorization,Content-Type,X-Custom-Header" | |
max_age="3600" | |
/> | |
</configure> | |
[plonesite] | |
recipe = collective.recipe.plonesite | |
site-id = Plone | |
instance = instance | |
profiles-initial = Products.CMFPlone:dependencies | |
profiles = | |
plonetheme.barceloneta:default | |
plone.app.contenttypes:plone-content | |
plone.restapi:default | |
plone.app.mosaic:default | |
collective.folderishtypes.dx:default | |
upgrade-portal = False | |
upgrade-all-profiles = False | |
site-replace = True | |
[robot-server] | |
recipe = zc.recipe.egg | |
eggs = | |
${instance:eggs} | |
collective.MockMailHost | |
plone.app.robotframework | |
robotframework-debuglibrary | |
robotframework-requests | |
robotframework-react | |
robotframework-seleniumlibrary | |
robotframework-selenium2library | |
robotframework-webpack | |
scripts = | |
robot-server | |
pybot | |
zcml-additional = | |
<configure xmlns="http://namespaces.zope.org/zope" | |
xmlns:plone="http://namespaces.plone.org/plone"> | |
<plone:CORSPolicy | |
allow_origin="http://localhost:3000,http://127.0.0.1:3000" | |
allow_methods="DELETE,GET,OPTIONS,PATCH,POST,PUT" | |
allow_credentials="true" | |
expose_headers="Content-Length,X-My-Header" | |
allow_headers="Accept,Authorization,Content-Type,X-Custom-Header" | |
max_age="3600" | |
/> | |
</configure> | |
[test] | |
recipe = collective.xmltestreport | |
defaults = ['--auto-color', '--auto-progress', '--ignore_dir=.git', '--ignore_dir=bower_components', '--ignore_dir=node_modules'] | |
eggs = | |
${buildout:eggs} | |
${buildout:test-packages} | |
# Add diazo compile/run tools to bin; useful for debugging understanding | |
# diazo. See http://docs.diazo.org/en/latest/compiler.html | |
[diazotools] | |
recipe = zc.recipe.egg | |
eggs = diazo | |
[checkdocs] | |
# installs collective.checkdocs from pypi [https://github.com/collective/collective.checkdocs] | |
recipe = zc.recipe.egg | |
eggs = | |
collective.checkdocs | |
[mrbob] | |
recipe = zc.recipe.egg | |
eggs = | |
mr.bob | |
bobtemplates.plone | |
[releaser] | |
# installs zest.releaser, po compiler | |
recipe = zc.recipe.egg | |
eggs = | |
zest.releaser | |
zest.pocompile | |
[i18ndude] | |
recipe = zc.recipe.egg | |
eggs = i18ndude | |
[plonecli] | |
recipe = zc.recipe.egg | |
eggs = plonecli | |
[versions] | |
plone.schema = 1.2.0 | |
selenium = 3.4.0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment