Skip to content

Instantly share code, notes, and snippets.

@aodag
Created November 5, 2013 14:58
Show Gist options
  • Save aodag/7320291 to your computer and use it in GitHub Desktop.
Save aodag/7320291 to your computer and use it in GitHub Desktop.
circusデーモン、開発サーバー、テスト、ドキュメンテーションとかのひとまとめな zc.buildout用のベース設定
[app]
recipe = zc.recipe.egg
eggs = ${eggs:main}
pyramid
interpreter = py
[dev-app]
recipe = zc.recipe.egg
eggs = ${eggs:main}
pyramid
waitress
scripts =
pserve=rundev
arguments = sys.argv + "development.ini --reload".split()
[prod-app]
recipe = zc.recipe.egg
eggs = ${eggs:main}
pyramid
waitress
chaussette
scripts =
chaussette
[alembic]
recipe = zc.recipe.egg
eggs = ${eggs:main}
alembic
[docs]
recipe = z3c.recipe.sphinxdoc
eggs = ${eggs:docs}
default.css =
layout.html =
[test]
recipe = zc.recipe.testrunner
eggs = ${eggs:test}
[circusd]
recipe = zc.recipe.egg
eggs = circus
scripts = circusd
initialization = sys.argv[1:] = "--daemon circus.ini".split()
[circusctl]
recipe = zc.recipe.egg
eggs = circus
scripts = circusctl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment