A website collects and shows news from the Internet, based on Flask.
- Categoried news
- User management (register, log in, password/email update, email verification, etc.)
- Column customization
- Atuo updatied news (everyday)
- Python 3.6.x
How to run
Change configuration in
1. Change email setting: my_email, MAIL_USERNAME, MAIL_SERVER, MAIL_PASSWORD => It is similar with using a third party mail client to control your mailbox and then send emails.
2. Change databse setting: db_cfg (user, passwd) => If you want to use Chinese in database, you need to change the character set of MySQL to utf8.
- Install requirements:
pip install -r requests.txt
- Create table in database: run
python manage.py deployin root directory
- Collect news from Internet: run
python toutiao.py&in directory
- Run the server: run
python manage.py runserverin root directory
- Open link http://127.0.0.1:5000/