以下是我研究的Flask源码的笔记:
https://github.com/sherry255/flask_notes
Django 常用命令
发表于
查看log tail -f /var/log/django/*
杀死进程
1 | killall -9 python |
查看当前运行
1 | ps auxw | grep runserver |
mysql的状态
1 | service mysqld status |
关闭 nginx 的自启动
1 | chkconfig mysqld/nginx/gunicorn on |