collective.blog
adds blogging features to a Plone site.
name | context |
---|---|
Blog |
A folderish content type that supports adding Posts and Authors |
Blog Author |
An Author in a blog |
Blog Tag |
A Tag for categorizing posts in a blog |
Blog Post |
A Post in a blog |
Add collective.blog
as a dependency on your package's setup.py
install_requires = [
"collective.blog",
"Plone",
"plone.restapi",
"setuptools",
],
Also, add collective.blog
to your package's configure.zcml
(or dependencies.zcml
):
<include package="collective.blog" />
To automatically enable this package when your add-on is installed, add the following line inside the package's profiles/default/metadata.xml
dependencies
element:
<dependency>profile-collective.blog:default</dependency>
We welcome contributions to collective.blog
.
You can create an issue in the issue tracker, or contact a maintainer.
- Python 3.8 or later
- Docker
Install all development dependencies -- including Plone -- and create a new instance using:
make install
make i18n
make format
Testing of this package is done with pytest
and tox
.
Run all tests with:
make test
Run all tests but stop on the first error and open a pdb
session:
./bin/tox -e test -- -x --pdb
Run only tests that match TestVocabAuthors
:
./bin/tox -e test -- -k TestVocabAuthors
Run only tests that match TestVocabAuthors
, but stop on the first error and open a pdb
session:
./bin/tox -e test -- -k TestVocabAuthors -x --pdb
The development of this add-on has been kindly sponsored by German Aerospace Center (DLR) and Forschungszentrum Jülich.
Developed by kitconcept
The project is licensed under GPLv2.