142 Commits

Author SHA1 Message Date
Benoit Chesneau
498809d39e django don't like eggs. use zip_safe=False now 2010-02-03 00:01:45 +01:00
Benoit Chesneau
614a5d25c1 replace /bin/* py setup entry-points 2010-02-02 18:23:37 +01:00
Benoit Chesneau
ea9ccf0da1 create temporary file in target dir 2010-02-01 22:21:11 +01:00
Benoit Chesneau
c920d59332 fix setup, don't import examples. 2010-02-01 20:01:09 +01:00
Benoit Chesneau
6ecbd9bff8 qfix 2010-02-01 19:53:34 +01:00
Benoit Chesneau
31c911f6cc fix license headers and bump release number to 0.3 2010-02-01 19:40:59 +01:00
Benoit Chesneau
f23c24f92f add time to logs 2010-02-01 19:13:09 +01:00
Benoit Chesneau
54f0e74111 test if settings.py exists 2010-02-01 19:11:54 +01:00
Paul J. Davis
84d4510847 Fix USR1 handling in workers. 2010-01-31 18:21:47 -05:00
Paul J. Davis
9dde33c15c Needed to s/break/continue/ with new loop. 2010-01-31 17:55:21 -05:00
Paul J. Davis
9e717b8f9c Refactoring the worker loop.
Accidentally got a bit carried away.
2010-01-31 17:45:26 -05:00
Benoit Chesneau
ae0416619f update README. 2010-01-31 03:55:20 +01:00
Benoit Chesneau
8dd0f9e881 fix relatives import in gunicorn_django command 2010-01-31 03:51:06 +01:00
Benoit Chesneau
6afaf608e3 add daaemon option 2010-01-31 02:34:16 +01:00
Benoit Chesneau
85e5b78ec5 Merge remote branch 'ericflo/master' into djangocommand 2010-01-31 02:10:55 +01:00
Benoit Chesneau
2346866ea5 useless debug 2010-01-31 02:09:51 +01:00
Eric Florenzano
91d6ee398f Add a run_gunicorn management command for use with Django. To use, simply add 'gunicorn' to your INSTALLED_APPS and run_gunicorn will be available in manage.py. 2010-01-30 16:51:57 -08:00
Benoit Chesneau
3a639b8c11 update readme 2010-01-30 02:47:00 +01:00
Benoit Chesneau
4be8e9f0ee some fixes. Now we have daemonized mode and pidfile. 2010-01-30 02:28:49 +01:00
Benoit Chesneau
ced1f39020 some fixes. still dont handle SIGQUIT on workers :/ 2010-01-30 00:56:09 +01:00
Benoit Chesneau
6d4ef85e39 inherit PIPE and fix bug in reap_workers 2010-01-29 22:55:01 +01:00
Benoit Chesneau
6dff13c309 only one should be imported. 2010-01-29 21:35:36 +01:00
Benoit Chesneau
6f4db28710 make daemonizing better 2010-01-29 21:32:16 +01:00
Benoit Chesneau
82ed62d35d fork twice as usual per request of davisp 2010-01-29 21:11:41 +01:00
Benoit Chesneau
80b4534922 first step for self daemonized. Still need to fix workers kill 2010-01-29 21:05:28 +01:00
Benoit Chesneau
d5880e2bcf add pidfile support. gunicorn --pid=/tmp/gunicorn.pid or paster server
prod.ini pid=/tmp/gunicorn.pid
2010-01-29 19:04:43 +01:00
Benoit Chesneau
ddb48593f3 try to send a response even if something happend 2010-01-29 16:20:26 +01:00
Benoit Chesneau
57054f1a4c don't set default values for command line options so we can use paster
one and later our own conf. While I'm here display the address on which
we start to listen so we can get the port when using port=0.
2010-01-27 16:08:08 +01:00
Benoit Chesneau
23af620000 I thought global_conf would be enough to get all info from paster.
Obviously I was wrong, we also need to use local_conf. Spotted by @gawel
on irc.
2010-01-27 15:42:52 +01:00
Benoit Chesneau
00fa4313c8 since we are in a test just display stdout with paster so users can see
number of workers.
2010-01-26 02:34:27 +01:00
Benoit Chesneau
96a0a0c895 update test.ini 2010-01-26 02:12:29 +01:00
Benoit Chesneau
58c759b914 bump version to 0.2.1 2010-01-26 02:03:23 +01:00
Benoit Chesneau
c41b0c6903 detect if debug=true in ini 2010-01-25 17:12:36 +01:00
Benoit Chesneau
e830a8f54d add debug option and support in paster. It allows us to work with paster
in debug mode and some other app that eval results. In debug mode only
one worker could be launch and wsgi.multiprocess is set to False.
2010-01-23 18:26:07 +01:00
Benoit Chesneau
e70c2c350b typo 2010-01-23 17:17:53 +01:00
Benoit Chesneau
3609b65385 add irc channel to the readme. 2010-01-23 17:16:36 +01:00
Benoit Chesneau
1a3c09b1a8 80 cols. 2010-01-23 16:53:56 +01:00
Benoit Chesneau
ebc95efced typo forget the ".ini" . 2010-01-23 16:51:08 +01:00
Benoit Chesneau
63d45ef181 gunicorn server factory for paster. 2010-01-23 16:46:49 +01:00
Benoit Chesneau
e699a50952 handle application errors 2010-01-23 15:04:52 +01:00
Benoit Chesneau
04bb2c3a51 fix readme 2010-01-23 14:37:19 +01:00
Benoit Chesneau
f1466ad78f fix start_response to handle exc_info . 2010-01-23 14:26:25 +01:00
Benoit Chesneau
b0f1a0fe06 add django_paste command for paste-compatible projects. 2010-01-23 14:25:41 +01:00
Benoit Chesneau
73e8f4c103 fix setup 2010-01-22 00:57:13 +01:00
Paul J. Davis
2287f5b7b3 Adding tuning parameter info to the README. 2010-01-21 18:36:39 -05:00
Benoit Chesneau
6e459bcb56 after discussing of/commenting in github this with @davisp , changing
__exported_functionality__() in __all__ . Also support for it wass added
in pyflakes :
http://bazaar.launchpad.net/~vcs-imports/pyflakes/main/revision/35
2010-01-21 23:36:13 +01:00
Benoit Chesneau
cd238cdf72 add @ericflo. Thanks for the patch & pyflakes usage 2010-01-21 22:42:32 +01:00
Benoit Chesneau
99bb5b0de4 fix other issues spotted by pyflakes. 2010-01-21 22:40:53 +01:00
Eric Florenzano
036735b456 Used PyFlakes to detect and fix unneeded imports. 2010-01-21 13:23:35 -08:00
benoitc
9422ee545e clean 2010-01-21 18:56:24 +01:00