Hello,

I'm having a hard time finding details as to how a pyramid application
distributed in the form of a python egg can be deployed using
mod_wsgi.

I have wrapped my app in an egg following the procedure described
here:
http://docs.pylonsproject.org/projects/pyramid/1.1/tutorials/wiki/distributing.html

But am now at a loss as to how mod_wsgi needs to be configured to
recognise this egg as the app...
In the example I am provided ion the documentation, I found this
snippet:

from pyramid.paster import get_app
application = get_app(
  '/Users/chrism/modwsgi/env/myapp/production.ini', 'main')

But I'm not sure where the production.ini would be coming from in my
case...

I'm fairly sure the answer is dead simple but I'm a bit of a n00b in
regards to all things pyramid.
(Although I WAS able to build a really nice LIMS using this
framework... I just need to deploy it now !)

If anyone could point out the manips I should perform to get this
going, that would be great !!
(Adding a bit of this information to the general documentation could
also prove usefull to other n00bs in the future..)

I should point out that the app IS currently deployed so I know the
apache config is working OK but I feel we hacked the deployment a bit
as we did not exactly deploy from the egg and just copied the entire
folder from the DEV setup (but I AM using production.ini
though.. :D)

Cheers !

JP

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To post to this group, send email to pylons-devel@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en.

Reply via email to