模板由Benoît Suttor提供。
项目描述
bobtemplates.bsuttor 是为Plone项目生成结构化包的 mr.bob 模板。
目前,只有一个用于空 Plone 插件的模板。
如何创建Plone插件包
您必须安装 mr.bob 和 bobtemplates.bsuttor eggs。然后您可以运行 mrbob
$ pip install mr.bob $ pip install bobtemplates.bsuttor $ mrbob -O collective.foo bobtemplates:plone
您必须回答一些问题
Welcome to mr.bob interactive mode. Before we generate directory structure, some questions need to be answered. Answer with a question mark to display help. Value in square brackets at the end of the questions present default value if there is no answer. --> Namespace of the package: collective [...]
现在您可以安装您的插件
$ cd collective.foo $ make install
最后您可以启动测试
$ bin/test
或者启动Plone
$ bin/instance fg
使用浏览器访问 https://#:8080/Plone,您可以看到已安装模块的网站
现在是时候自定义它了 ;-),请参阅Plone开发者 帮助
其他示例
您可以看到其他受我启发的bobtempaltes示例
项目详情
关闭
bobtemplates.bsuttor-0.1.1.zip的散列值
算法 | 散列摘要 | |
---|---|---|
SHA256 | f8dd4da010adb8b81448d3a9f7c2dae063799ffb709068d55779dfcbb542f367 |
|
MD5 | 2be3c959d1aaaf86b356660fe9582b4f |
|
BLAKE2b-256 | 1af832058f4420169d9ff7e789d9a07fd0792bcc0c1ae0c779779e7549c8983a |