Installation with pip and mxdev
Create a folder backend with a virtual Python environment.
Clone this repo.
Install prerequisites and run mxdev.
python -m venv venv
source venv/bin/activate
pip install -U pip wheel mxdev
mxdev -c mx.iniInstall your Plone packages, core and add-ons:
pip install -r requirements-mxdev.txtGenerate your Zope configuration with cookiecutter.
This is also necessary after changes of instance.yaml.
cookiecutter -f --no-input --config-file instance.yaml https://github.com/plone/cookiecutter-zope-instanceRun Zope:
runwsgi instance/etc/zope.iniVoilà, your Plone is up and running on http://localhost:8080.
python -m venv venv
source venv/bin/activate
pip install -U pip wheel mxdev
mxdev -c mx.ini
pip install -r requirements-mxdev.txt
cookiecutter -f --no-input --config-file instance.yaml https://github.com/plone/cookiecutter-zope-instance
runwsgi instance/etc/zope.ini
source venv/bin/activate
mxdev -c mx.ini
pip install -r requirements-mxdev.txt
cookiecutter -f --no-input --config-file instance.yaml https://github.com/plone/cookiecutter-zope-instance
runwsgi instance/etc/zope.ini
Be sure to activate the Python virtual environment.
source venv/bin/activate
runwsgi instance/etc/zope.iniCorrect in setup.py of the mentioned add-on:
python_requires=">=3.6",