「Online Education System Based on Django」
中文文档在这里
- linux/windows
- python 2.7
- mysql 5.6
- mail server (This system uses Netease mailbox : SMTP service)
- run command:
pip install -r requirements.txt cp ./config/config.yaml.example ./config/config.yaml
- edit config.yaml
mysql: database: 'hfonline' username: 'root' password: '123456' host: '127.0.0.1' port: 3306 charset: 'utf8' email: host: 'smtp.163.com' port: 25 host_user: 'xxxx@163.com' # 你的邮箱 host_password: 'xxxxxxxx' # 你的密码 use_tls: "no" from: 'xxxx@163.com' # 你的邮箱
- db migration
python manage.py makemigrations python manage.py migrate
- run server
python manage.py runserver
demo is here
Q: How to open Netease mailbox SMTP service?
A: Netease help docs:163邮箱如何开启POP3/SMTP/IMAP服务