26
1 Workshop: Plone Administration is no Mystery Plone Administration is no Mystery Andreas Mantke

Plone Administration is no Mystery

  • Upload
    vankhue

  • View
    218

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Plone Administration is no Mystery

1Workshop: Plone Administration is no Mystery

Plone Administration is no Mystery

Andreas Mantke

Page 2: Plone Administration is no Mystery

2Workshop: Plone Administration is no Mystery

Who am I

Andreas MantkeWorking with OpenOffice.org from autumn 2002 to 2010Since 9/2010 Project LibreOffice and The Document FoundationDeputy of the Board of Directors at The Document FoundationDeveloperAdmin of ODFAuthors.orgDeveloper / Admin of LibreOffice extensions- / templates-repository, LibreOffice conference sitePlone-Developer (collective)

Page 3: Plone Administration is no Mystery

3Workshop: Plone Administration is no Mystery

Agenda

Easy Tasks via GUI: User Management, Folder Management etc.New Plone Site from ScratchUpdate of the SiteAdding new Functionality, ProductsIf time remains: Creating a new add-on

Page 4: Plone Administration is no Mystery

4Workshop: Plone Administration is no Mystery

Easy Tasks via GUI

Page 5: Plone Administration is no Mystery

5Workshop: Plone Administration is no Mystery

Management Interface

Page 6: Plone Administration is no Mystery

6Workshop: Plone Administration is no Mystery

User Management

Page 7: Plone Administration is no Mystery

7Workshop: Plone Administration is no Mystery

Group Management

Page 8: Plone Administration is no Mystery

8Workshop: Plone Administration is no Mystery

Security Settings

Page 9: Plone Administration is no Mystery

9Workshop: Plone Administration is no Mystery

HTML Filter Settings

Page 10: Plone Administration is no Mystery

10Workshop: Plone Administration is no Mystery

Zope Management Interface (ZMI)

Page 11: Plone Administration is no Mystery

11Workshop: Plone Administration is no Mystery

New Plone Site from Scratch

Page 12: Plone Administration is no Mystery

12Workshop: Plone Administration is no Mystery

Buidout

Create a directoryEnter the new directoryGet Bootstrap for your version:

wget https://raw.github.com/plone/buildout.coredev/4.2/bootstrap.py

Create a buildout.cfg-file

Page 13: Plone Administration is no Mystery

13Workshop: Plone Administration is no Mystery

buidout.cfg

[buildout]Extends = http://dist.plone.org/release/4.2/versions.cfg

parts= instance

[instance]recipe = plone.recipe.zope2instanceuser= admin:[your password]eggs = plone

Page 14: Plone Administration is no Mystery

14Workshop: Plone Administration is no Mystery

Bootstrapping

python bootstrap.py --distributeCreating directory '/home/andreasma/plone/ploneworkshop/bin'.Creating directory '/home/andreasma/plone/ploneworkshop/parts'.Creating directory '/home/andreasma/plone/ploneworkshop/eggs'.Creating directory '/home/andreasma/plone/ploneworkshop/develop-eggs'.Getting distribution for 'distribute==0.6.27'.Before install bootstrap.Scanning installed packagesNo setuptools distribution foundAfter install bootstrap.Don't have permissions to write /home/andreasma/plone/plone-python/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info, skippingCreating /home/andreasma/plone/plone-python/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-infoCreating /home/andreasma/plone/plone-python/lib/python2.7/site-packages/setuptools.pthGot distribute 0.6.27.Getting distribution for 'zc.buildout==1.4.4'.Got zc.buildout 1.4.4.Generated script '/home/andreasma/plone/ploneworkshop/bin/buildout'.

Page 15: Plone Administration is no Mystery

15Workshop: Plone Administration is no Mystery

Run Buildout and start Plone

Run Buildout:./bin/buildout -c buildout.cfg

Downloads the Plone eggs and creates the instance

./bin/instance start (or fg)

Page 16: Plone Administration is no Mystery

16Workshop: Plone Administration is no Mystery

buidout.cfg

[buildout]Extends = http://dist.plone.org/release/4.2/versions.cfg

parts= instance

[instance]zeo-client = falserecipe = plone.recipe.zope2instanceuser= admin:[your password]Http-address = 8080 [or another port]debug-mode = onverbose-security = on

eggs = Plone

Page 17: Plone Administration is no Mystery

17Workshop: Plone Administration is no Mystery

buidout.cfg

[buildout]parts = instance zopepy i18ndude zopeskel test omelette

extends = http://dist.plone.org/release/4.2/versions.cfg

find-links = http://dist.plone.org/release/4.2 http://dist.plone.org/thirdparty

extensions = mr.developer buildout.dumppickedversions buildout.threatlevel

auto-checkout =

always-checkout = true [false]

sources = sources

versions = versions

develop = src/collective.conference [instance]zeo-client = falserecipe = plone.recipe.zope2instanceuser = admin:adminhttp-address = 9090debug-mode = offverbose-security = onblob-storage = var/blobstorage

eggs = Plone PIL plone.app.dexterity collective.conference

zcml =

[zopepy]recipe = zc.recipe.eggeggs = ${instance:eggs}interpreter = zopepyscripts = zopepy

Page 18: Plone Administration is no Mystery

18Workshop: Plone Administration is no Mystery

buidout.cfg

[buildout]parts = instance zopepy i18ndude zopeskel test omelette

(…)

[i18ndude]unzip = truerecipe = zc.recipe.eggeggs = i18ndude

[test]recipe = zc.recipe.testrunnerdefaults = ['--auto-color', '--auto-progress']eggs = ${instance:eggs}

[zopeskel]unzip = truerecipe = zc.recipe.eggeggs = ZopeSkel ${instance:eggs} Paste PasteDeploy PasteScript zopeskel.dexterity

[sources]collective.conference = fs collective.conference

[versions]

[omelette]recipe = collective.recipe.omelettelocation = ${buildout:directory}/omeletteeggs = ${instance:eggs}

Page 19: Plone Administration is no Mystery

19Workshop: Plone Administration is no Mystery

Update of the Site

Page 20: Plone Administration is no Mystery

20Workshop: Plone Administration is no Mystery

Update of the Site

/bin/instance stop

Run Buildout again:./bin/buildout -c buildout.cfg

./bin/instance start (or fg)

Page 21: Plone Administration is no Mystery

21Workshop: Plone Administration is no Mystery

Adding new Functionality, Products

Page 22: Plone Administration is no Mystery

22Workshop: Plone Administration is no Mystery

Adding new Functionality, Products

Add the new Product, Add-On to your buildout-script in the eggs-section

./bin/instance stop

Run Buildout again:./bin/buildout -c buildout.cfg

./bin/instance start (or fg)

Page 23: Plone Administration is no Mystery

23Workshop: Plone Administration is no Mystery

Creating a new Product / Add-On

Page 24: Plone Administration is no Mystery

24Workshop: Plone Administration is no Mystery

Creating a new Product / Add-On

Go to /src inside the buildout../bin/paster create –list-templates../bin/paster create -t plone_basic my.package

Page 25: Plone Administration is no Mystery

25Workshop: Plone Administration is no Mystery

Questions?

Page 26: Plone Administration is no Mystery

26Workshop: Plone Administration is no Mystery

All text and image content in this document is licensed under the Creative Commons Attribution-Share Alike 3.0 License (unless otherwise specified). "LibreOffice" and "The Document Foundation" are registered trademarks. Their respective logos and icons are subject to international copyright laws. The use of these therefore is subject to the trademark policy.

Thank you