Giter Site home page Giter Site logo

flask-world-clock's Introduction

mohamed hedi ben jdida

Flask World Clock

A world clock application built to demonstrate logging in Flask.

Tutorial: How to Start Logging with Flask.

Flask World Clock

๐ŸŸข Prerequisites

You must have the latest version of Python 3 installed on your machine. This project is tested against Python 3.10.0.

๐Ÿ“ฆ Getting started

  • Clone this repo to your machine:

    git clone https://github.com/betterstack-community/flask-world-clock.git
  • cd into the project directory:

    cd flask-world-clock
  • Install Python virtual environment:

    python3 -m venv env
  • Activate the virtual environment.

    On Windows, run:

    env\Scripts\activate

    On Unix or macOS, run:

    source env/bin/activate
  • Install the requirements:

    python -m pip install -r requirements.txt
  • Start the dev server:

    flask run

You should see the following output if the dev server is started successfully:

 * Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on http://127.0.0.1:5000
Press CTRL+C to quit

Open your browser and go to http://127.0.0.1:5000

โš– License

The code used in this project and in the linked tutorial are licensed under the Apache License, Version 2.0.

flask-world-clock's People

Contributors

ericnanhu avatar hamahedi avatar

Stargazers

Arij Bannour 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.