Closed rochacbruno closed 9 years ago
The actual modules implemented on quokka will become core models (Post, Accounts, etc) ?
the core modules posts, media and accounts will not change, they will be in quokka/modules folder.
But, in modules/__init__.py
we will do the same hack that Flask does with .ext allowing form quokka.modules.*
to import packages from dist-packages.
nice. :+1:
If add the core CMS at PyPI and make project to generate a project?
Draft
Quokka should be installed via pip
pip install quokka
From the current repo, themes, mediafiles, staticfiles, manage, run, wsg will be removed.
The "quokka" package should only contain the core and the base modules.
Once installed user should do
So using CookieCutter it will ask some things and create the following tree.
So app.py will instantiate the Quokka application and expose this.
The modules
Modules should be also installed via PyPI
pip install quokka-cart
So Quokka should use the same way Flask threat extensions but with a module namespace.
Once installed, modules will be available in the CMS, only need to activate it via settings or via admin.