Django runserver permanent

后端 未结 8 510
-上瘾入骨i
-上瘾入骨i 2020-12-07 09:54

How can I make the development server from django running permanent? So that it does\'t stop when I quit the shell.

Thanks

8条回答
  •  我在风中等你
    2020-12-07 10:08

    If you are on Linux/Unix use the "nohup" command.

    nohup manage.py runserver &
    

    Then to get it back, use the fg command:

    fg
    

    Thanks to: Xiong Chiamiov

提交回复
热议问题