Open erikj opened 8 years ago
.git/hooks/post-receive
- ...
- restart apache or touch
.wsgi
file ? TBD
$ touch datavis/wsgi.py
In this way, restarting of a WSGI application when a change has been made to the code is a simple matter of
touch
ing the script file if daemon mode is being used. Any daemon processes will then automatically restart without the need to restart the whole of Apache.So, if you are using Django in daemon mode and needed to change your ‘
settings.py
’ file, once you have made the required change, alsotouch
the script file containing the WSGI application entry point. Having done that, on the next request the process will be restarted and your Django application reloaded.
implement git-based deployment workflow for ncharts@datavis
datavis
.git/hooks/post-receive
.wsgi
file ? TBD