Django runserver permanent

后端 未结 8 470
-上瘾入骨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:23

    On Windows, run

    pythonw.exe manage.py runserver
    
    0 讨论(0)
  • 2020-12-07 10:24
    on Ubuntu run:>./manage.py runserver 0.0.0.0:8000 > /dev/null 2>&1 &
    
    >exit
    
    0 讨论(0)
提交回复
热议问题