Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 637 Bytes

DEVELOP.rst

File metadata and controls

45 lines (27 loc) · 637 Bytes

Using the development buildout

Create a virtualenv in the package:

$ virtualenv --clear .

Install requirements with pip:

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

Run buildout:

$ ./bin/buildout

Start Plone in foreground:

$ ./bin/instance fg

Running tests

$ tox

list all tox environments:

$ tox -l plone43-py27 plone50-py27 plone51-py27 plone52-py27 plone52-py36 plone52-py37 plone52-py38

run a specific tox env:

$ tox -e plone52-py38

Format Python code

$ ./bin/black .