echo "[buildout]" > custom.cfg
ln -s profiles/development.cfg buildout.cfg
make
./bin/supervisord
./bin/instance fg
There is a scripts folder in the package that contains some useful scripts that can be run from the command line.
This script configures the Plone site to use the smtp_queue.
It accepts two positional parameters:
- The Plone site id
- The target folder for the queue
You can run it with:
./bin/instance run scripts/configure_smtp_queue.py Plone var/smtp-queueThe target folder (in the example var/smtp-queue), has to be created manually.
It should contain three subfolders:
curnewtmp
and it is probably a good idea to only allow the user running the Plone instance to access them:
mkdir -p var/smtp-queue/
mkdir -p var/smtp-queue/{cur,new,tmp}
chmod 700 var/smtp-queue/{cur,new,tmp}This script scan the etc/registry folder for xml files and tries to read them
to configure your portal_registry.
You can use it with:
make read_registry