A collection of skeletons for quickstarting CS projects.
Project description
Introduction
CodeSkel 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 4 theme you can do:
paster create -t cs_plone_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_plone5_theme
Diazo theme for Plone 5 based in plonetheme.barceloneta
- cs_plone_buildout
A base template for a Plone 5 based buildout. It can be used for Plone 4 too. It has a single zeo-based instance, zeo server configuration and also a supervisor configuration. It provides additional instances if needed and sample configuration for haproxy and varnish. It also creates an egg omelette. It creates Apache and Nginx configuration files so, you can just symlink those files to the configuration folder of Apache/Nginx. The domain names can be configured directly in the buildout file. 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_plone4_theme
This template creates a theme package for Plone 4 (it will work for 3 too). 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 ++ :)
- cs_bootstrap_theme
A template based on ploneteheme.bootstrap, that provides a Bootstrap based template for Plone.
- cs_dexterity
A dexterity based package template based on the one provided by zopeskel.dexterity but with some changes, such as: no traces of Grok, less questions when creating the page, custom permissions, …
Local commands
This package adds also a local command support for cs_dexterity based packages 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. The content-types created are shown directly in the navigation.
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) and zopeskel.dexterity
HISTORY
4.0.14 (2018-06-14)
fix version pins [erral]
fix varnish template [erral]
fix https rules in apache template [erral]
4.0.13 (2017-03-07)
buildout fixed completly [Urtzi Odriozola <uodriozola@codesyntax.com>]
4.0.12 (2017-03-07)
wsgi file added to Django buildout project [Urtzi Odriozola <uodriozola@codesyntax.com>]
Update local_settings.py_tmpl [Urtzi Odriozola <uodriozola@codesyntax.com>]
4.0.11 (2017-03-07)
bugfixes [Urtzi Odriozola <uodriozola@codesyntax.com>]
django import fix [Urtzi Odriozola <uodriozola@codesyntax.com>]
4.0.10 (2017-03-07)
django projects [Urtzi Odriozola <uodriozola@codesyntax.com>]
Update nginx.tpl [Urtzi Odriozola <uodriozola@codesyntax.com>]
Update buildout.cfg_tmpl [Urtzi Odriozola <uodriozola@codesyntax.com>]
4.0.9 (2017-03-07)
4.0.8 (2017-03-07)
4.0.7 (2017-03-07)
Django templates added [Urtzi Odriozola <uodriozola@codesyntax.com>]
[Mikel Larreategi <mlarreategi@codesyntax.com>]
[ci skip] [Mikel Larreategi <mlarreategi@codesyntax.com>]
4.0.6 (2016-12-05)
adjust default timezone to Europe/Madrid [Mikel Larreategi <mlarreategi@codesyntax.com>]
[Mikel Larreategi <mlarreategi@codesyntax.com>]
[ci skip] [Mikel Larreategi <mlarreategi@codesyntax.com>]
4.0.5 (2016-12-05)
instal pdbpp for debugging [Mikel Larreategi <mlarreategi@codesyntax.com>]
adjust default behaviors [Mikel Larreategi <mlarreategi@codesyntax.com>]
document how to render the default widgets using Dexterity’s DefaultView [Mikel Larreategi <mlarreategi@codesyntax.com>]
update versions [Mikel Larreategi <mlarreategi@codesyntax.com>]
[Mikel Larreategi <mlarreategi@codesyntax.com>]
[ci skip] [Mikel Larreategi <mlarreategi@codesyntax.com>]
4.0.4 (2016-06-28)
Fix services.cfg to include += in parts [erral]
4.0.3 (2016-06-23)
adjust pid files1 [Mikel Larreategi <mlarreategi@codesyntax.com>]
[Mikel Larreategi <mlarreategi@codesyntax.com>]
[ci skip] [Mikel Larreategi <mlarreategi@codesyntax.com>]
4.0.2 (2016-06-23)
history changelog [Mikel Larreategi <mlarreategi@codesyntax.com>]
rename usercrontab [Mikel Larreategi <mlarreategi@codesyntax.com>]
change file name [Mikel Larreategi <mlarreategi@codesyntax.com>]
remove the robots.txt config file [Mikel Larreategi <mlarreategi@codesyntax.com>]
remove spdy config file [Mikel Larreategi <mlarreategi@codesyntax.com>]
provide logrotate config file and cronjobs to restart the supervisor and pack the ZEO [Mikel Larreategi <mlarreategi@codesyntax.com>]
error [Mikel Larreategi <mlarreategi@codesyntax.com>]
Change error log filename [Mikel Larreategi <mlarreategi@codesyntax.com>]
[Mikel Larreategi <mlarreategi@codesyntax.com>]
[ci skip] [Mikel Larreategi <mlarreategi@codesyntax.com>]
Provide logrotate configuration in buildout template [erral]
Fix nginx templates [erral]
4.0.1 (2016-03-18)
Fix dexterity template [erral]
4.0 (2016-03-17)
Improve documentation [erral]
Change template names [erral]
Improve and clean dexterity templates [erral]
Remove django templates because we do not use them [erral]
Remove grok traces from dexterity template [erral]
3.2 (2015-10-13)
Rework Plone 5 Theme: provide a copy of Barceloneta that registers a LESS file and a JS file. [erral]
3.1 (2015-09-09)
default Plone 5 [Mikel Larreategi <mlarreategi@codesyntax.com>]
3.0 (2015-07-30)
document plone5 theme [Mikel Larreategi <mlarreategi@codesyntax.com>]
remove README.txt [Mikel Larreategi <mlarreategi@codesyntax.com>]
readme [Mikel Larreategi <mlarreategi@codesyntax.com>]
whitespace [Mikel Larreategi <mlarreategi@codesyntax.com>]
show warning about setting development mode [Mikel Larreategi <mlarreategi@codesyntax.com>]
adjust templates [Mikel Larreategi <mlarreategi@codesyntax.com>]
fix registered resource’s path [Mikel Larreategi <mlarreategi@codesyntax.com>]
fix import [Mikel Larreategi <mlarreategi@codesyntax.com>]
indentation [Mikel Larreategi <mlarreategi@codesyntax.com>]
remove unused ignore file [Mikel Larreategi <mlarreategi@codesyntax.com>]
create also files with a leading . [Mikel Larreategi <mlarreategi@codesyntax.com>]
include basic Diazo theme based on Barceloneta for editors and front-end [Mikel Larreategi <mlarreategi@codesyntax.com>]
rename [Mikel Larreategi <mlarreategi@codesyntax.com>]
adjust theme [Mikel Larreategi <mlarreategi@codesyntax.com>]
adjust theme [Mikel Larreategi <mlarreategi@codesyntax.com>]
initial attempt to create a plone5 compatible theme [Mikel Larreategi <mlarreategi@codesyntax.com>]
remove setup.cfg [Mikel Larreategi <mlarreategi@codesyntax.com>]
2.2 (2015-06-11)
remove bootstrap.py and pin setuptools and zc.buildout to null. Recommend using non-bootstrapping pattern https://community.plone.org/t/not-using-bootstrap-py-as-default/620 [Mikel Larreategi <mlarreategi@codesyntax.com>]
2.1.1 (2015-02-09)
adjust default TLS configuration for nginx and add specific profile for spdy configuration [Mikel Larreategi <mlarreategi@codesyntax.com>]
2.1 (2015-02-05)
inherit the ithemespecific browser layer interface from plonetheme.bootstrap [Mikel Larreategi <mlarreategi@codesyntax.com>]
2.0 (2015-02-03)
Create configfiles to configure varnish and haproxy [erral]
Create webserver configuration for Apache and Nginx [erral]
Install dexterity always in plone buildout [erral]
Document versions part [erral]
1.14.1 (2014-02-19)
Pin setuptools & zc.buildout in Plone template [erral]
1.14 (2014-02-19)
Pin some more eggs in Plone buildout [erral]
Upgrade Plone buildout to use Plone 4.3.2 [erral]
Fix diff_tool.xml file syntax [erral]
Fix theme template to be compatible with latest Sunburst [erral]
1.13 (2013-7-5)
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]
New defaults: Plone 4.3.1 with p.a.contenttypes [erral]
Set dexterity as required for content-types [erral]
Add more interfaces for generated dexterity types [erral]
1.12 (2013-3-15)
Add information about making dexterity content-type multilingual [erral]
Pin supervisor and collective.recipe.supervisor to a KGS [erral]
Set (autorestart=true) in zope and zeo instances in supervisor [erral]
Upgrade Plone buildout to the latest 4.2.5 version [erral]
Use the generated permission in the profile file for dexterity types [erral]
Clean dexterity template: generate content-type names based on the name, and not the full dotted name [erral]
1.11 (2013-2-20)
Upgrade bootstrap.py files to zc.buildout >= 2.0 [erral]
Grok theme packages by default [erral]
1.10.3 (2013-1-20)
Fix wrong variable use [erral]
1.10.2 (2012-12-19)
Change static and media path in settings.py_tmpl
Add pytz to django based templates
Add staticfiles stuff on urls.py
1.10.1 (2012-11-14)
Brown bag release, src directory was ignored by gitignore and thus missing from the release [erral]
1.10 (2012-11-14)
New django buildout template [erral]
Document the django project template [erral]
1.9 (2012-11-14)
Added new template for quickstarting Django projects [erral]
Added buildout for developing this package [erral]
1.8.10 (2012-10-05)
Added a new template based on Twitter Bootstrap Theme provided by plonetheme.bootstrap [erral]
Buildout can’t handle urls with buildout parameters [erral]
1.8.9 (2012-10-05)
Add Plone version in a parameter [erral]
Fix syntax error. [erral]
1.8.8 (2012-10-05)
Add checkinterval calculation part to buildout recipe [erral]
Deactivate mobile.css from cs_plone3_theme [erral]
1.8.7 (2012-05-19)
Change project’s url [erral]
1.8.6 (2012-05-19)
Remove ‘media’ in CSS [erral]
Add instructions for eggs and zcml sections in buildout template [erral]
Add missing sources section in buildout-template [erral]
1.8.5 (2012-05-11)
Fix dependencies [erral]
1.8.4 (2012-05-10)
Set Sunburst Theme as base template directly in skins.xml file [erral]
1.8.3 (2012-05-09)
Add Sunburst Theme as default for cs_plone3_themes [erral]
Fix broken template [erral]
1.8.2 (2012-05-03)
Fix documentation [erral]
1.8.1 (2012-05-03)
Fix ZopeSkel dependency to <= 2.99 [erral]
Fix doc [erral]
1.8
Remove old Plone 3 templates [erral]
1.7.2
Fix possible path issue in Plone 4.2b2 [erral]
1.7.1
Add __init__.py to browser [erral]
1.7
Remove details from plone3_theme template [erral]
Add products directory to plone4_buildout [erral]
Upgrade Plone 4 version [erral]
Add base template for Dexterity based content-types with customizations from CS [erral]
Add a localcommand to add a content-type based on Dexterity [erral]
1.6.9
It’s not possible to parametrize easily the Plone version [erral]
1.6.8
Update Plone 4 buildout with own repository [erral]
Parametrize Plone version [erral]
1.6.7
Add missing folder [erral]
1.6.6
New Plone version (4.0.1) [erral]
1.6.5
Forgot to add buildout.dumppickedversions options [erral]
1.6.4
Plone 4 is already out! [erral]
Add mr.developer and buildout.dumppickedversions [erral]
1.6.3
One more fix for supervisor scripts (Plone 4) [erral]
Upgrade Plone to 4.0.b5 [erral]
1.6.2
Add version pinning for supervisor (Plone 4) [erral]
Correct supervisor script path (Plone 4) [erral]
1.6.1
Fix restructured-text syntax [erral]
1.6
Add plone4 buildout [erral]
1.5.1
Fix cs_plone3_buildout timestamp bug [erral]
1.5
Remove obsolete Plone 2.5 templates [erral]
Remove Django buildout [erral]
Use superbuildout for plone buildout templates [erral]
1.4.4
Add defaults for deployment ports [erral]
1.4.3
Add buildout eggtractor [erral]
Deployment fixes [erral]
1.4.2
Rewrite cs_django_buildout template to add omelette and remove django-settings parts [erral]
A ‘d’ was missing in buildouts [erral]
1.4.1
egg_info weirdness [erral]
1.4
Added Django template [erral]
1.3.2
Fix some Plone 3 buildout options [erral]
1.3.1
Fix packaging [erral]
1.3
Add additional fake-egg: ZODB3 [erral]
Use the zope version included in versions.cfg [erral]
1.2.9
Upgrade to Plone 3.2.1 [erral]
1.2.8
Add cs.plt.contentnegotiator and 2.1 branch of PloneLanguageTool to have content based language negotiator [erral]
1.2.7
svn reorganization with things mistakenly checked in to a tag.
1.2.6
Added missing utils.py in plone25_theme
1.2.5
More fixes in templates
1.2.4
Fixed deployment templates
1.2.3
Added cs.donedukia to cs_plone3_buildout template
1.2
Added varnish and supervisor to buildout templates
Some polishment in plone2.5_theme template, removing useless DTML-based CSS files and some folders
1.1.1
First working version. It contains the following templates:
plone2.5_theme: a simple egg-like theme for Plone 2.5.x using GenericSetup profile to install itself and Theme installation using quickinstaller script
plone3_theme: a simple egg line theme for Plone 3.x using GenericSetup and not using zope3-like resources like ZopeSkel template does.
cs_plone3_buildout: a base buildout template with our customizations:
uses cs.donedukia and cs.navigation
installs an egg-omelette
udalplone_buildout: a base buildout for UdalPlone, based on Plone 2.5.x
udalplone3_buildout: a base buildout for UdalPlone, based on Plone 3.x
0.1 - 1.1
Initial testing non-working versions
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.