Clone wiki

superfcgi / DjangoCommand

Django Command

To use superfcgi in your django projects instead of flup you need to add superfcgi to settings module


After that you can start your application as fastcgi by command runsuperfcgi

For example:

$ python runsuperfcgi socket=/tmp/fcgi.sock

This command starts process, makes socket and starting to listen on that socket. Also you can specify count of workers and threads for each worker by parameters:

$ python runsuperfcgi socket=/tmp/fcgi.sock workers=10 threads=25

You can see other parameters by running command:

$ python runsuperfcgi help