python - How to deploy Django code without restarting web server -
python - How to deploy Django code without restarting web server -
i decided move php , start using django. have installed python , django on web server. how can code python/django program, throw server on ftp, , run without need ssh server , restart django server every time?
what method run django codes same way run php code (having server running time if possible)?
my server runs centos 5.8 , apache.
edit: alright recommend tutorial ever want setup django on web server , recommendation after reading lot of posts. using django on nginx web server powerful performance
https://code.djangoproject.com/wiki/djangoandnginx
you can't magically create django run php. please @ deployment documentation, it's of best around.
you'll see step step instructions apache.
as not having ssh every time load new code, best tool job fabric
.
http://docs.fabfile.org/en/1.5/
fabric amazing tool extremely easy install , configure, lets run commands on remote machine local machine.
for example, type fab production deploy
on local machine to...
i want stress fabric not deployment build scripts complicated. fabric literally take 10 minutes set up.
python django
Comments
Post a Comment