跳转到主要内容

模板由Benoît Suttor提供。

项目描述

https://secure.travis-ci.org/bsuttor/bobtemplates.bsuttor.png

bobtemplates.bsuttor 是为Plone项目生成结构化包的 mr.bob 模板。

目前,只有一个用于空 Plone 插件的模板。

如何创建Plone插件包

您必须安装 mr.bobbobtemplates.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 (30.2 kB 查看散列值)

上传时间

支持

AWSAWS云计算和安全赞助商DatadogDatadog监控FastlyFastlyCDNGoogleGoogle下载分析MicrosoftMicrosoftPSF赞助商PingdomPingdom监控SentrySentry错误日志StatusPageStatusPage状态页面