Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Templates for Plone projects by CodeSyntax

Project description

https://secure.travis-ci.org/codesyntax/bobtemplates.cs.png?branch=master Coveralls Latest Version Documentation Status License

bobtemplates.cs

bobtemplates.cs provides a mr.bob template to generate packages for Plone projects using our customizations. This packages is based on bobtemplates.plone

Features

Package created with bobtemplates.cs use the current best-practices when creating an add-on.

Provided templates

  • cs_plone_buildout
  • cs_migration
cs_plone_buildout

This template provides a ready-to-use buildout template for Plone sites. It asks for a Plone version and configures the buildout with it.

The generated buildout provides configuration files for nginx and Apache, haproxy, varnish and logrotate.

It also creates cron jobs to pack your database and to restart the services when the server is rebooted.

cs_migration

This template adds some useful blueprints and a pipeline for a Transmogrifier based migration for Plone 5.

The provided pipeline will work with a collective.jsonify export out of the box.

We have been using the blueprints and the pipeline in several projects and found them very useful. To make the pipeline work correctly, you will need to adjust the created migration1.cfg file to provide the path of the export and adjust one or two parameters.

To get started with Transmogrifier, visit the training at https://training.plone.org/5/transmogrifier

You can run the migration from the command line, using the provided zopectl scripts, as follows. Inspect all the registered transmogrifier pipelines:

$ cd /path/to/your/buildout
$ ./bin/instance list_migrations

Run the selected pipeline:

$ cd /path/to/your/buildout
$ ./bin/instance run_migration my.package-step1

Compatibility

Add-ons created with bobtemplates.cs are tested to work in Plone 5 and Plone 5.1. They should also work with older versions but that was not tested. It should work on Linux, Mac and Windows.

Documentation

Full documentation for end users can be found in the “docs” folder.

Support

If you are having issues, please let us know.

Changelog

1.2.1 (2019-05-15)

  • Remove ‘products’ directory registration for buildout recipe [erral]
  • update varnish control script in supervisor. [erral]

1.2 (2019-04-04)

  • Always cache Diazo rules in development [erral]
  • Enable WSGI [erral]
  • Update pinnings [erral]
  • Remove checkinterval calculation.
  • Python3 compatibility fixes [erral]

1.1.4 (2019-01-24)

  • Fix template registration [erral]

1.1.3 (2019-01-24)

  • Minor fixes in template registration. [erral]

1.1.2 (2019-01-16)

  • Bugfixes in migration subtemplate. [erral]

1.1.1 (2018-11-26)

  • Minor fix. [erral]

1.1 (2018-11-26)

  • Add a subtemplate with migration utils. [erral]

1.0.0 (2018-10-19)

  • Link to starzel buildout for hotfix installation [erral]
  • Improve docs [erral]
  • More tests [erral]

1.0b1 (2018-10-18)

  • No changes yet.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
bobtemplates.cs-1.2.1.tar.gz (38.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page