Skip to content

apanjain/FlaskWebBlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Blog App

Setup

Virtual Environment

  • Install a virtualenv if not already installed
python3 -m pip install --user virtualenv
  • Create a virtual environment
virtualenv env
  • Activate environment
source env/bin/activate

Install requirements

pip install -r requirements.txt

Flask Environment variables

export FLASK_APP=app
export FLASK_ENV=development

DATABASE

  • Run the following command to initialize the database
python init_db.py

Run the server

  • The following command will run development server on http://127.0.0.1:5000
flask run

Usage

About

A simple blog app using flask

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published