30 lines
828 B
Markdown
30 lines
828 B
Markdown
A simple go-to Flask template project incorporating many cool module, eg:
|
|
|
|
* Flask-Security for user and permissions management
|
|
* Flask-Social for social login
|
|
* Flask-WTF for form management
|
|
* Flask-SQLAlchemy for database access
|
|
* Flask-Migrate for migrations
|
|
* Flask-Admin for admin panel
|
|
* Flask-Script for management commands
|
|
* Admin is only accessible for `is_superuser`'s
|
|
* Social authorization automatically creates user model and allows him to make
|
|
sure email fetched from social (Facebook only right now) is correct.
|
|
|
|
After all, when you look at it, it's just a Django-for-Flask... :)
|
|
|
|
|
|
Usage
|
|
-----
|
|
|
|
* Clone repository
|
|
* `mv flaskbase yourproject`
|
|
* `find . -type f -print0 | xargs -0 sed -i 's/flaskbase/yourproject/g'`
|
|
* ...
|
|
* PROFIT!
|
|
|
|
|
|
TODO
|
|
----
|
|
* Migrate to Flask-Social-Blueprint. Much cleaner.
|