Skip to content

iColdPlayer/Flask

Repository files navigation

Simple Blog Using Flask

Here are some example simple blog using Flask.

Installation

# clone the repository into your local machine
$ git clone https://github.com/icoldplayer/flask.git

# move to flask directory
$ cd flask

# create your own virtual environment
$ python -m venv env

# then activate it
$ source env/bin/activate

# export your app 
(env)$ export FLASK_APP=flask

# export environment mode
(env)$ export FLASK_ENV=development

# and run it.
(env)$ flask run

visit localhost:5000 on your browser, and you're ready to go.

That's all.