Code Monkey home page Code Monkey logo

pythonflask's Introduction

pythonFlask

This is the python code written to learn the basics of Python's flask microframework and Git commands from terminal .

Getting Started

Installation

Copy project from gitHub repository

This command will clone the repository folder on the current location of terminal.

git clone https://github.com/Vikas-Kshirsagar/pythonFlask.git 

Install Python

Install python V3.0 or latest as flask provides good support for the python 3. Use pip to install python if needed. Python 3 comes bundled with the venv module to create virtual environments. If you’re using a modern version of Python, you can continue with following,

python3 -m venv venv

On Windows:

py -3 -m venv venv

If you needed to install virtualenv because you are on an older version of Python, use the following command instead:

virtualenv venv

Run these commands to activate environment

On Windows:

venv\Scripts\activate

Install Flask

Within the activated environment, use the following command to install Flask:

pip install Flask

Run these commands to start the project

* $env:FLASK_APP = "app.py"*
* set FLASK_ENV=development*
* python -m flask run*

Start Debug mode in

In Windows -->   $env:FLASK_DEBUG=1
In Ubuntu --> $env:FLASK_DEBUG=1

pythonflask's People

Contributors

vikas-kshirsagar 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.