/flasksession-tutorial

:floppy_disk: :bow: Example Flask project for implementing Flask-Session with Redis.

Primary LanguagePython

Flask Session Tutorial

Python Flask Flask-Login Flask-Assets Flask-Session Flask-SQLAlchemy WTForms Psycopg2-Binary Redis GitHub Last Commit GitHub Issues GitHub Stars GitHub Forks

Flask Session Redis Tutorial

Source code for the accompanying tutorial found here: https://hackersandslackers.com/managing-user-session-variables-with-flask-sessions-and-redis/

Getting Started

Installation is recommended with Pipenv:

$ git clone https://github.com/hackersandslackers/flasksession-tutorial.git
$ cd flasksession-tutorial
$ pipenv shell
$ pipenv update
$ python3 main.py

Alternatively, try installing via setup.py:

$ git clone https://github.com/hackersandslackers/flasksession-tutorial.git
$ cd flasksession-tutorial
$ python3 setup.py install
$ python3 main.py

Hackers and Slackers tutorials are free of charge. If you found this tutorial helpful, a small donation would be greatly appreciated to keep us in business. All proceeds go towards coffee, and all coffee goes towards more content.