/PYTHON-FLASK-WEBSITE-SKELETON

Web site skeleton with user autentication and accounts creation

Primary LanguageHTML

PYTHON FLASK WEBSITE SKELETON

Web site skeleton with autentication and accounts creation

  • Running over Python Flask microframework
  • Database abstraction layer with Flask-SQLAlchemy
  • Automatic creation of the database and its tables (if not exist)
  • User session management with Flask-Login
  • Account management page for create and remove users
  • Visual design and implementation of login/logout

Instructions

Project dependencies

Install the necessary dependencies from Python Command Line

$ python -m pip install Flask Flask-SQLAlchemy Flask-Login

or from pip3 tool

$ pip3 install Flask Flask-SQLAlchemy Flask-Login

Start the development server

Start the development server and browse to http://localhost:80

$ python run.py

Optionally you can execute the file run.bat in Windows or run.sh in Linux respectively

Notes

  • You can change the current port of the development server or another parameters in the file config.py (root folder)
  • The default values for the Username and Password is admin in both cases. You can change this in the file config.py (root folder)