Open gouthambs opened 9 years ago
Thanks @slippers . The idea here is to wrap all the core blogging features and create an interface for people to install this as a blog for their website.
What about adding a python script to the package which would be initialized like: python -m flask_blogging init
with optional path
argument (by default the current working directory)?
This script would copy a pre-defined example/standalone
dir (based on current examples but not crammed into a single file, extended to work with user-provided configuration and handle all the options from other examples, conditionally on the config settings) and gather configuration data (admin: login, password; database: name host, login, password) in a command-line interface.
@krassowski
This is a great suggestion. Happy to take a PR.
i can reflect on flask_bootstrap static resources a little here:)
flask_bootstrap provides StaticCDN. you would set the app.extensions['bootstrap']['cdns'] with StaticCDN instead of WebCDN
from the static_asset_loader in engine.py