Skip to content

sylvainb/plonetheme.depannenergiesnouvelles

Repository files navigation

plonetheme.depannenergiesnouvelles

plonetheme.depannenergiesnouvelles is an installable Plone Theme using plone.app.theming, based on the default Sunburst Plone theme.

Screenshot

Add plonetheme.depannenergiesnouvelles to your plone.recipe.zope2instance buildout section e.g.:

[instance]
...
eggs =
    Plone
    ...
    plonetheme.depannenergiesnouvelles

Or, you can add it as a dependency on your own product setup.py:

install_requires=[
    ...
    'plonetheme.depannenergiesnouvelles',
],
Install the theme from the Add-ons control panel. That's it!

Download plonetheme.depannenergiesnouvelles and use virtualenv and buildout to test the theme:

easy_install virtualenv
cd plonetheme.depannenergiesnouvelles
virtualenv .
source bin/activate
(plonetheme.depannenergiesnouvelles) easy_install zc.buildout
!!! check the buildout config file ``test-plone-base.cfg`` before running !!!
(plonetheme.depannenergiesnouvelles) ln -s test-plone-4.3.x.cfg buildout.cfg
(plonetheme.depannenergiesnouvelles) python bootstrap.py
(plonetheme.depannenergiesnouvelles) bin/buildout
[...] be patient... [...]
(plonetheme.depannenergiesnouvelles) ./bin/instance fg

Go to http://localhost:8080, add a new Plone Site and install plonetheme.depannenergiesnouvelles.

Launch tests:

(plonetheme.depannenergiesnouvelles) ./bin/test -s plonetheme.depannenergiesnouvelles

Launch code coverage:

(plonetheme.depannenergiesnouvelles) bin/coverage
(plonetheme.depannenergiesnouvelles) bin/report
And open with a browser htmlcov/index.html

Source code is hosted on Github.

Source code and an issue tracker is hosted on Github.