8000 GitHub - electrofocus/flask-blog-tutorial
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jul 29, 2021. It is now read-only.

electrofocus/flask-blog-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask blog

Install

pip install -r requirements.txt

Set environment variables

For Linux and Mac:

export FLASK_APP=flaskr
export FLASK_ENV=development

For Windows cmd, use set instead of export:

set FLASK_APP=flaskr
set FLASK_ENV=development

For Windows PowerShell, use $env: instead of export:

$env:FLASK_APP = "flaskr"
$env:FLASK_ENV = "development"

Initialize database

flask init-db

Run

flask run

Then visit http://127.0.0.1:5000/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

0