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
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
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
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.