<NME> settings.py
<BEF> import os
# configuration
DEBUG = True

try:
    from settings_local import *
except ImportError:
                  ## 127.0.0.1 is localhost only.
PORT = 5000


try:
    from settings_local import *
except ImportError:
    pass

<MSG> add ensure_inited command to sbin/rsted

also add flup to pip-requirements

<DFF> @@ -2,6 +2,11 @@
 # configuration
 DEBUG = True
 
+RUN_PATH = 'var/run'
+PID_FILE = 'fastcgi.pid'
+SOCKET_FILE = 'rsted.sock'
+CHMOD_SOCKET = '0777' # you can override this in settings_local.py if you wish
+
 try:
     from settings_local import *
 except ImportError:

add ensure_inited command to sbin/rsted