marait123 / session-2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flask Recap

A simple flask server to demonstrate basic flask.

Getting Started

Create a Virutal Enviornment

Follow instructions here to create and activate virtual enviornment for this project.

Install Dependencies

Run pip install -r requirements.txt to install any dependencies.

Install Postman

Follow instructions on the Postman docs to install and run postman. Once postman is running, import the collection ./udacity-fsnd-flaskrecap.postman_collection.json.

Run the Server

running using gitbash

On first run, execute export FLASK_APP=flaskr. Then run flask run --reload to run the developer server.

running using powershell

> $ENV:FLASK_DEBUG=1
> $ENV:FLASK_APP="flaskr"
> flask run --reload

About


Languages

Language:Python 81.9%Language:HTML 11.2%Language:Mako 3.5%Language:Dockerfile 2.9%Language:PowerShell 0.5%