Giter Site home page Giter Site logo

flaskbasic's Introduction

README:

ABOUT:	These are VERY basic programs of flask that I learnt/am learning from youtube

Condintions:
	1) pip install flask
	
while running:
	Step 1:  *if on linux- export FLASK_APP=flaskblog.py (flaskblog.py is the program's name,so instead of flaskblog type in your
			      program's name)
		 *if on windows- set FLASK_APP=flaskblog.py
	Step 2(optional):
		*set FLASK_DEBUG=1 (this is so that you can just reload the page other than quitting program again and again )
	Step 3:
		* flask run (you'll see  'Running on http://127.0.0.1:5000/' copy the 'http://127.0.0.1:5000/')
	Step 4: 
		*paste the 'http://127.0.0.1:5000/', as a url in your browser
	Step 5:
		*To quit press ctrl+c

INDEX:
	L1-
	    *p1 ->Basic url mapping and returning
	    *p2 -> Adding templates (p2home.html and p2about.html) into the code

	L2-
	    *p1 -> Adding for loops and if-else in the p1home.html	   
			
	L3-
	    *p1 -> inheriting the templates
	
	

flaskbasic's People

Watchers

James Cloos avatar Shloka Gupta 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.