Skip to content

DevxPi/flask_blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask_blog

Introduction

A basic blog application called Flaskr

Installation

  1. Clone this repository

     git clone https://github.com/DevxPi/flask_blog.git
  2. Create virtualenv and activate it.

    # linux
    python3 -m venv env
    source env/bin/activate
    
    #or 
    
    # windows
    py -m venv env
    .\env\Scripts\activate
  3. run db command

    flask --app flaskr init-db

Run it

flask --app flaskr run --debug

The application serves on port:5000

Keep developing

  • A detail view to show a single post. Click a post’s title to go to its page.
  • Like / unlike a post.
  • Comments.
  • Tags. Clicking a tag shows all the posts with that tag.
  • A search box that filters the index page by name.
  • Paged display. Only show 5 posts per page.
  • Upload an image to go along with a post.
  • Format posts using Markdown.
  • An RSS feed of new posts.
  • Add markdown support

About

A basic blog application called Flaskr

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published