SQLAlchemy model backend integration examples.
To run this example:
Clone the repository:
git clone https://github.com/flask-admin/flask-admin.git cd flask-admin
Create and activate a virtual environment:
virtualenv env -p python3 source env/bin/activate
Install requirements:
pip install -r 'examples/sqla/requirements.txt'
Run the application:
python examples/sqla/run_server.py
The first time you run this example, a sample sqlite database gets populated automatically. To start with a fresh database: rm examples/sqla/admin/sample_db.sqlite, and then restart the application.