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.ini
Install your Plone packages, core and add-ons:
pip install -r requirements-mxdev.txt
Generate 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-instance
Run Zope:
runwsgi instance/etc/zope.ini
Voilà, 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.ini
Correct in setup.py
of the mentioned add-on:
python_requires=">=3.6",