/python-blog

A sample blog built using the Flask python framework

Primary LanguagePython

python-blog

Created by using the Flask 'blog' tutorial as a guide. This is meant to show familiarity with the python language as well as the Flask framework.

Link to tutorial

RUN COMMANDS

Setup

  • Go to project directory in cmd
  • Activate virtual environment 'venv' : . venv/Scripts/activate
  • Run commands in the 'Running the Application' section

Running the Application

   export FLASK_APP=flaskr
   export FLASK_ENV=development
   flask run

Running the database initialization script

    flask db-init