- Learn Flask with practice a tutorial of baisc blog demo
- Thanks for
@luhuisicnu
translate Miguel Grinberg's blog
- https://github.com/luhuisicnu/The-Flask-Mega-Tutorial-zh
- https://juejin.im/post/5b83c569f265da436152f7d5
- https://blog.miguelgrinberg.com
- https://blog.miguelgrinberg.com/post/running-your-flask-application-over-https
- luhuisicnu (https://github.com/luhuisicnu)
- vimiix (https://github.com/vimiix)
- 1st Chapter: Hello, World, complete date: 2019/3/30
- 2nd Chapter: Templates, complete date: 2019/3/30
- 3th Chapter: Web Forms, complete date: 2019/3/30
- 4th Chapter: Database, complete date: 2019/3/30
- 5th Chapter: User Logins, complete date: 2019/3/30
- 6th Chapter: Profile Page and Avatars, complete date: 2019/4/1
- 7th Chapter: Error Handling, complete date: 2019/4/2
- 8th Chapter: Followers, complete date: 2019/4/4
- 9th Chapter: Pagination, complete date: 2019/4/8
- 10th Chapter: **Email Support: 2019/4/11
- 11th Chapter: Facelift: 2019/4/12
- 12th Chapter: Dates and Times: 2019/4/13
- 13th Chapter: l18n and L10n: 2019/4/15 ~ 2019/4/16
- 14th Chapter: Ajax: 2019/4/17 ~ 2019/4/18
- 15th Chapter: A Better Application Structure: 2019/4/19, 2019/4/22
- 16th Chapter: Full-Text Search: 2019/4/23 ~ 2019/4/24
- 17th Chapter: Deployment on Linux: 2019/4/25 ~ 2019/4/26
- 18th Chapter: Deployment on Heroku: 2019/4/27
- 19th Chapter: Deployment on Docker Containers: 2019/4/28
- 20th Chapter: Some JavaScript Magic: 2019/5/2
- 21th Chapter: User Notifications: 2019/5/3 ~ 2019/5/4
- 22th Chapter: Background Jobs: 2019/5/5 ~ 2019/5/7
- 23th Chapter: Application Programming Interfaces(APIs): 2019/5/8 ~ 2019/5/11
- You should create
.env
file which contain some flask environmental arguments, such like:- SECRET KEY : set a very long value
- MAIL SERVER : default is localhost
- MAIL PORT : default is 8025
- MS TRANSLATOR KEY : default is your microsoft translator key here
- ELASTICSEARCH URL : default is http://localhost:9200, this function dependent on elasticsearch tool