A Seed Web Project in Flask (Python) with basic functions.
- Basic Authentication
- Password
- CAPTCHA (With
Pillow
)
- User Management
- Add User
- Edit User (include Resetting Password)
- Enable / Disable User
- Search User
- ACL Support
- User Operation Records
- Search Record
- Multi-Language (With
Flask-Babel
)- English
- Simplified Chinese
- Traditional Chinese
- Japanese
- Deploy Ready (With
gunicorn
,supervisord
)
See requirements.txt
Name | Description | Default |
---|---|---|
ADMIN_EMAIL | Admin email | |
SECRET_KEY | Flask secret key | h3bF9paWv9nNfAEo |
DEV_DB_CONN_URL | Database connection URL | sqlite:///current-path/db-dev.sqlite |
PROD_DB_CONN_URL | Database connection URL For Production | sqlite:///current-path/db.sqlite |
FLASK_CONFIG | Config name (development , production ) |
default (Same to development ) |
python manage.py initdb
Name | Password | |
---|---|---|
$ADMIN_EMAIL |
admin |
admin! |
./run-dev.sh
./run-deploy.sh
supervisord
./update-translations.sh