04-02 start flask script

01

Fix 3 errors on the page

  1. video z-index wrong in step-float
  2. step-float step-txt off on mobile
  3. fix border in code-container and copy-code

Basic script

from flask import Flask
app = Flask(__name__)

@app.route('/')
def index():
    return 'Hey'

Run following command to display on page/ run on server

export FLASK_APP=application.py
export FLASK_ENV=development
flask run

02

Use

flask --app your_app_name run --debug

To refresh page in browser and see changes in script

edit this video, speed up slow parts