Total Pageviews

Saturday 4 May 2024

Simple-Blog-Using-Flask

 

Simple Blog Using Flask

Installation

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

# 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.

from https://github.com/iColdPlayer/Flask 

(https://github.com/briteming/Simple-Blog-Using-Flask)

No comments:

Post a Comment