Hello,
(This question was previously posted in pylons-devel but I guess pylons-discuss might be a better match)
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 produced an egg from my pyramid application following the procedure described here:
But am now at a loss as to how mod_wsgi needs to be configured to recognise this egg as the app...
In the mod_wsgi config 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 pyramid.
(Although I WAS able to build a really nice LIMS using this amazing framework !)
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 I diod manage to deploy the app so I know the mod_wsgi + apache config is working OK but I feel we hacked the deployment a bit as I did not exactly deploy from the egg (ie: no easy-install my-app.egg) and just copied the entire folder from the DEV setup.
I'm guessing deploying from the egg is really the way to go since it would enable me to update the app by just updating the egg !!
Cheers !