RPM mod_wsgi installation (Red Hat, Fedora, etc.): | |
---|---|
Setting up a Moksha RPM & mod_wsgi environment | |
virtualenv installation (OSX, Ubuntu, etc.): | |
Virtualenv installation |
$ git clone git://git.fedorahosted.org/git/moksha
$ paver reinstall reinstall_apps restart_httpd
$ paver html
$ nosetests
$ pip freeze -E tg2env -r requirements.txt production/stable-reqs.txt
Open the moksha/config/app_cfg.py file and set the base_config.profile variable to True. After surfing around your application, you can then go to http://localhost:8080/__profile__ to view your profiling statistics.