Giter Site home page Giter Site logo

jamalshahverdiev / flask-logging-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tenable/flask-logging-demo

0.0 1.0 0.0 7 KB

Demo files for 'The Boring Stuff - Flask Logging' blog post

Home Page: https://medium.com/tenable-techblog/the-boring-stuff-flask-logging-21c3a5dd0392

Python 100.00%

flask-logging-demo's Introduction

Flask Logging Demo

Supporting code for the Flask Logging demo:

git clone <giturl>.git && cd logging_demo && python3 -m venv venv

Single Application File Example:

1. source venv/bin/activate
2. cd single_file_app_pattern
3. pip install -r requirements.txt
4. flask run
5. curl http://localhost:5000/

Application Factory Pattern Example:

This pattern supports configuration via .env file as well as ENV_VAR

1. source venv/bin/activate
2. cd app_factory_pattern
3. pip install -r requirements.txt
4. flask run
5. curl http://localhost:5000

flask-logging-demo's People

Contributors

bkizer-tenable avatar glpendley avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.