Skip to content

Latest commit

 

History

History
83 lines (56 loc) · 1.15 KB

DEVELOP.md

File metadata and controls

83 lines (56 loc) · 1.15 KB

Using the development buildout

plonecli

The convenient way, use plonecli build ;):

$ plonecli build

or with `--clear`` if you want to clean your existing venv:

$ plonecli build --clear

Start your instance:

$ plonecli serve

Without plonecli

Create a virtualenv in the package:

$ python3 -m venv venv

or with --clear if you want to clean your existing venv:

$ python3 -m venv venv --clear

Install requirements with pip:

$ ./venv/bin/pip install -r requirements.txt

Run buildout:

$ ./venv.bin/buildout

Start Plone in foreground:

$ ./bin/instance fg

Running tests

Run the tests with tox:

$ tox

list all tox environments:

$ tox -l
py38-Plone52
py39-Plone60
py310-Plone60
py311-Plone60

Run a specific tox environment:

$ tox -e py37-Plone52

CI Github-Actions / codecov

The first time you push the repo to github, you might get an error from codecov. Either you activate the package here: https://app.codecov.io/gh/collective/+ Or you just wait a bit, codecov will activate your package automatically.