server-administration

How do I keep my Django server running even after I close my ssh session?

血红的双手。 提交于 2019-12-02 15:38:43
I figured out how to run my Django application via sudo python /home/david/myproject/manage.py runserver 68.164.125.221:80 . However, after I quit terminal, the server stops running. I tried to run this process in the background, but the server just shuts down quickly after I execute sudo python /home/david/myproject/manage.py runserver 68.164.125.221:80 & . How do I keep my Django application running even after I quit my ssh session in terminal? PS - Sorry if this question strikes you as elementary. Such sillyness ensues when a front-end javascript programmer must turn into a server