Skip to content

wrlakshan/Flask_Blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

create environment

python3 -m venv env

activate environment

source env/Scripts/activate

install flask

pip install flask

check flask installed version

python -c "import flask; print(flask.__version__)"

check flask installed version

python -c "import flask; print(flask.__version__)"

run the application

export FLASK_APP=app

--dev mode
    export FLASK_ENV=development
    export FLASK_DEBUG=1

flask run
flask run -p 5001

initialization the Database

python init_db.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published