Flask

1 min read flask

learn flask, the python web application framework

Prerequisites

  • pipenv for python environment/packages

Running

# install all dependencies
pipenv install --dev

# load python enviroment
pipenv shell

# run server in debug (livereload - reload on file changes) mode
FLASK_DEBUG=1 FLASK_RUN_PORT=5000 FLASK_APP=server.py flask run

# run client
python client.py

# load test
chmod +x load-test.sh
./load-test.sh

Get new guides and courses by email

An occasional email when I publish a new guide, course or post. No spam, and you can unsubscribe any time.

Sent with Buttondown. I never share your address. Prefer a feed? Use the RSS feed.