Skip to content

A Simple learning series of Python, Flask and Docker

Notifications You must be signed in to change notification settings

Akbarsait/PyFlaskDokr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python, Flask, and Docker (PyFlaskDokr)

A Simple learning series of Python, Flask, and Docker. This is a document for myself and my fellow learners.

  1. Base App - Develop a base app with docker, python and flask.
  2. The Template App - This app enhances the base app with a couple of templates added with the bootstrap framework and uses render_template function in the flask.
  3. Dynamic Templates - Using more dynamic improved templates from the earlier application.
  4. Adding Forms - Adding forms/validation in Flask application using Flask-WTF.
  5. Database & Models
  6. Form Validations
  7. User Authentication
  8. Error Managements
  9. Deployments.

How to run the application.

  1. Build and start with Docker Compose
docker-compose up --build
  1. Visit the site in browser. Use the correct port as mentioned in the docker-compose.yml
http://localhost:8080/
  1. To Stop the docker
docker-compose stop
  1. Once the images are done building, we can use the following command to bring the site up.
docker-compose up

About

A Simple learning series of Python, Flask and Docker

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published