Skip to content

Simple blog using Flask for Python and MongoDB for database.

Notifications You must be signed in to change notification settings

reema-eilouti/Flask_Blog_V2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Blog

This project is a very simple version of the flask blog app in http://flask.pocoo.org/docs/1.0/tutorial/

Project setup

  • Clone the project files.
  • Create a virtual environment.
    • You need Python 3.6 or higher.
    • Install the requirements (python -m pip install -r requirements.txt).

Run the blog app

On a Windows command prompt, run the following commands:

$ set FLASK_APP="blog"
$ set FLASK_ENV="development"
$ flask init-db
$ flask run

On a Mac or Linux terminal, run the following commands:

$ export FLASK_APP=blog
$ export FLASK_ENV=development
$ flask init-db
$ flask run

In a web browser, go to [http://127.0.0.1:5000/]

About

Simple blog using Flask for Python and MongoDB for database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •