We provide the code for this training divided in into chapters.
Modify buildout.cfg
to have Plone expect the egg ploneconf.site
to be in src
.
eggs =
...
# our addons
ploneconf.site
# starzel.votable_behavior
...
[sources]
ploneconf.site = fs ploneconf.site full-path=${buildout:directory}/src/ploneconf.site
Download the code into a directory called src/ploneconf.site_sneak
.
$ cd src
$ git clone https://github.com/collective/ploneconf.site_sneak.git
To use the code for a certain chapter stop Plone and do this:
$ cp -Rf src/ploneconf.site_sneak/chapters/<number_and_name_of_chapter>/ src/ploneconf.site
$ ./bin/buildout
$ ./bin/instance fg
This will:
- replace any existing previous chapter with the one you want to copy
- run buildout and restart Plone
These are the chapters for which there is code:
12_eggs1 13_dexterity 14_views_1 16_zpt_2 17_views_2 18_views_3 19_behaviors_1 20_viewlets_1 23_dexterity_2 25_events 26_user_generated_content 27_ressources 29_dexterity_3 34_embed