plone / bobtemplates.plone

Python Code Templates for Plone Projects with mr.bob
https://pypi.org/project/bobtemplates.plone/
GNU General Public License v2.0
24 stars 31 forks source link

Prepare package for mockup pattern development #212

Closed tomgross closed 6 years ago

tomgross commented 7 years ago

To promote mockup pattern development this package should include some parts to get started with mockup development.

Minimal:

  1. Add compile-resources script to buildout
[zopepy]
recipe = zc.recipe.egg
eggs =
   Products.CMFPlone
   ${instance:eggs}
   ${test:eggs}
interpreter = zopepy
scripts =
   zopepy
   plone-compile-resources
  1. Extend gitignore:
Gruntfile.js
node_modules/
package.json
MrTango commented 7 years ago

We could create a subtemplate which adds a mockup pattern and also enables the tooling. Could you try to add this in a branch? I can help you in integrating this in bobtemplates.plone, but it's not that hard anymore.

MrTango commented 7 years ago

The subtemplate should update the buildout file generated by the addon template.

MrTango commented 6 years ago

After reading it again, forget my comments. All we need is to update existing buildout part "zopepy" to create the "plone-compile-resources" script as you sted and optimize the .gitignore file a bit.

MrTango commented 6 years ago

@tomgross one question, now the script is only in the buildout template. Do you want it in the addon template too or instead?

tomgross commented 6 years ago

I'd put it into the addon template only.

kakshay21 commented 6 years ago

I'll do that tomorrow