Flask Setup

http://flask.pocoo.org/docs/1.0/installation/ mkdir myproject cd myproject python3 -m venv venv . venv/bin/activate pip install Flask pip install --upgrade pip http://flask.pocoo.org/docs/1.0/quickstart/#a-minimal-application nano hello.py from flask import Flask app = Flask(__name__) @app.route('/') def hello_world(): return 'Hello, World!' export FLASK_APP=hello.py flask run * Running on http://127.0.0.1:5000/
Back