Skip to content

This repo shows how you can create a simple flask app and run it (for beginners learning flask)

Notifications You must be signed in to change notification settings

GitauHarrison/starting-a-flask-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How To Start a Flask Server

The Flask microframework is a small, simple, and powerful web framework for Python. It is designed to be used as a base for web development, but it can be used as a standalone application.

Features

  • Responsive design

Tools Used

  • Flask framework
  • Flask Bootstrap (CSS framework)
  • Python for programming

Testing

  1. Clone this repo:
git clone git@github.com:GitauHarrison/starting-a-flask-server.git`
  1. Change directory to the new repo:
cd starting-a-flask-server
  1. Create and activate a virtual environment:
$ virtualenv starting-a-flask-server
  1. Install dependencies:
(starting-a-flask-server)$ pip install -r requirements.txt
  1. Run the server:
(starting-a-flask-server)$ flask run
  1. Open the browser and navigate to http://localhost:5000/

Learn

Working with Flask is fairly simple. Learn more about Flask below:

About

This repo shows how you can create a simple flask app and run it (for beginners learning flask)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published