CodeSkel 1.13

A collection of skeletons for quickstarting CS projects
CodeSkel is a Plone product that provides a collection of skeletons for quickstarting Plone projects personalized after repeating many times several changes in our Plone projects.

All skeletons are available as PasteScript templates and can be used via the ''paster'' commandline tool. For example to create a package for a Plone 3 theme you can do:

paster create -t cs_plone3_theme

this will ask a few questions such as desired package name and a description and output a complete package skeleton that you can immediately start using.

Please contribute by submitting patches for what you consider 'best of breed' file layouts for starting Zope projects.

Available templates

cs_plone4_buildout
 A base template for a Plone 4 based buildout. It has a single zeo-based instance, zeo server configuration and also a supervisor configuration. It also adds an egg omelette. The port configuration is simplified to a single change in one place. It also creates a projectname variable to use it throughout the buildout file

cs_plone3_theme
 This template creates a theme package for Plone 3 and 4. This is the successor of ZopeSkel provided plone3_theme but without the resource directories for CSS and images because our designers prefer to work with skin-based folders and urls without ++

dexterity_cs
 A dexterity based package template based on the ZopeSkel provided one but some additions based on archeytype template from ZopeSkel

Local commands

This package adds also a local command support for dexterity_cs to add a dexterity based content type.

cs_dexterity_content
 This local command adds a new dexterity based content-type, with a simple view and creates all templates in a single folder instead of one folder per content type as done by the zopeskel.dexterity product's localcommand It also adds permission information in the same way as the contenttype localcommand does for archetype template

Installation

DO NOT INSTALL THIS PACKAGE IN THE SYSTEM LIBRARY. USE A VIRTUALENV TO INSTALL IT.

This suggestion follows Mikko Ohtamaa's recommendation:

The internet is full of tutorial saying easy_install ZopeSkel. If you ever encounter this  kind of tutorial, it's wrong.

Do not never use system paster command.

Do not ever run sudo easy_install ZopeSkel. Do not ever run paster local commands using a paster command from your system-wide Python installation.


We have been fighting for long with system-wide ZopeSkel and some time ago started following Mikko's recommendation and now we have almost zero problems when working with ZopeSkel/CodeSkel.

So, create a virtualenv and install CodeSkel in there, it will automatically pull ZopeSkel (version < 3 of course) and zopeskel.dexterity

last updated on:
July 15th, 2013, 13:49 GMT
price:
FREE!
developed by:
Mikel Larreategi
homepage:
github.com
license type:
GPL (GNU General Public License) 
category:
ROOT \ Internet \ Plone Extensions

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

What's New in This Release:
  • Add diff tool configurationfile to the profile in the dexterity template [erral]
  • Remove useless static directory in dexterity template [erral]
  • Add namedfile dependency in setup.py to dexterity template [erral]
  • Remove custom meta type in dexterity template. Refs: http://code.google.com/p/dexterity/issues/detail?id=285 [erral]
read full changelog

Add your review!

SUBMIT