When you have a working pyramid starter project, this might be helpful...
You can init like this;
$ uwsgi development.ini
provided you have this line in your .ini
paste = config:<absolute_project_path>/development.ini
Alternatively, you can combine the ``ini`` and ``paste`` config action, and remove the need to reference your .ini file twice.
$ uwsgi --ini-paste development.ini
The features above support having combined .ini files, or a single .ini files that configures multiple apps.
ps. You don't need that ``callable`` line because uwsgi reads your paste .ini file and derives from ``use = egg:MyProject``, which is short-hand for ``egg:MyProject#main`` - ``main`` being the callable in your project's ``__init__.py``. I write mine in full as I prefer to have as little implied config as possible.
On 29 Jul 2012, at 05:47, Craig Younkins wrote: