-
Notifications
You must be signed in to change notification settings - Fork 0
fantasytm/slg
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Nginx+Gunicorn+Supervisor 部署 Django fabric自动化部署 相关信息见doc文件下 安装python3.6 安装可能的依赖 yum install -y openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel 下载源码 wget https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgz tar -zxvf Python-3.6.4.tgz cd Python-3.6.4 ./configure LD_RUN_PATH=/usr/local/lib LDFLAGS="-L/usr/local/lib" CPPFLAGS="-I/usr/local/include" make LD_RUN_PATH=/usr/local/lib make install django django日志 使用django开发、调试时,如果log使用了RotatingFileHandler输出日志,当第一个日志文件写满(设置了每个日志文件为5MB)产生第二个文件时,会出现如下的错误,导致无法生成后续的日志文件: Django RotatingFileHandler产生的错误:PermissionError: [WinError 32] 另一个程序正在使用此文件,进程无法访问。 使用python manager.py runserver --noreload 安装mysqlclient报错:MySQLdb/_mysql.c:501: error: ‘MYSQL_DEFAULT_AUTH’ undeclared, mysql版本过低,不支持mysql5.1,安装mysql5.7或更高
About
none
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published