Know How Guide and Hands on Guide for AWS
This code is part of an Amazon ElastiCache store session info Tutorial
Install dependencies:
$ pip3 install -r requirements.txt
# Use the name of the example you want to run.
$ export FLASK_APP=scripts/login_flask.py
# Replace the value with a random string.
$ export SECRET_KEY=some_secret_string
# Replace the hostname with the endpoint of your ElastiCache instance.
$ export REDIS_URL=redis://hostname:6379/
$ flask run -h 0.0.0.0 -p 5000