Instalation

3 Step instalation

  • Install it:

    pip install flask-appbuilder
    git clone https://github.com/dpgaspar/Flask-AppBuilder-Skeleton.git
  • Configure it:

    python init_app.py
  • Run it:

    python run.py

That’s it!!

What requirements were instaled

pip instalations installs all the requirements for you.

Flask App Builder dependes on

  • flask : The web framework, this is what were extending
  • flask-sqlalchemy : DB access see SQLAlchemy
  • flask-login : Login, session on flask.
  • flask-openid : Open ID authentication
  • flask-wtform
  • flask-Babel : For internationalization

If you plan to use Image on database, you will need to install PIL:

pip install pillow

or:

pip install PIL

Initial Config Explanation

init_app.py has created:

  • A fresh new database.
  • The security tables and all your application tables too.
  • ‘admin’ user associated with role “Admin”.
  • all your applications detailed permissions.
  • All permission to Role “Admin” (AUTH_ROLE_ADMIN).

The ‘admin’ password will be ‘general’. Change it on your first access using the application. (Click the username on the navigation bar, then choose ‘Reset Password’)

Table Of Contents

Previous topic

Introdution

Next topic

Quick How to

This Page