2006-11-20 18:54:10 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
export DJANGO_SETTINGS_MODULE="settings"
|
2007-04-25 15:14:45 +00:00
|
|
|
|
|
|
|
|
## There are several different ways you can run the server, read the
|
|
|
|
|
## description for each and uncomment the desired mode.
|
|
|
|
|
|
2007-05-21 20:52:05 +00:00
|
|
|
## TODO: Make this accept a command line argument to use interactive
|
|
|
|
|
## mode instead of having to uncomment crap.
|
|
|
|
|
|
2007-04-25 15:14:45 +00:00
|
|
|
## Interactive mode. Good for development and debugging.
|
2007-05-21 20:52:05 +00:00
|
|
|
#twistd -noy twistd -ny server.py
|
2007-04-25 15:14:45 +00:00
|
|
|
## Stand-alone mode. Good for running games.
|
2007-05-21 20:53:56 +00:00
|
|
|
twistd -y server.py
|