Skip to content

A microblogging web application written in Python and Flask that I developed as part of my Flask Mega-Tutorial series.

License

Notifications You must be signed in to change notification settings

heylucky/microblog

 
 

Repository files navigation

Welcome to Microblog!

This is an example application featured in my Flask Mega-Tutorial. See the tutorial for instructions on how to work with it.

笔记

python-dotenv

Before I end this chapter, I will do one more thing. Since environment variables aren't remembered across terminal sessions, you may find tedious to always have to set the FLASK_APP environment variable when you open a new terminal window. Starting with version 1.0, Flask allows you to register environment variables that you want to be automatically imported when you run the flask command. To use this option you have to install the python-dotenv package:

Then you can just write the environment variable name and value in a file named .flaskenv located in the top-level directory of the project:

About

A microblogging web application written in Python and Flask that I developed as part of my Flask Mega-Tutorial series.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 75.1%
  • HTML 23.1%
  • Other 1.8%