python - Aldryn - DjangoCMS install addons not present in "Manage Addons" -


i quite django n00b, , figured using aldryn first real django site idea!

i have installed , implementer aldryn news & blog. install aldryn search not accessible "manage addons" under aldryn control panel.

i confused on how install addon aldryn search not accessible within "manage addons". should somehow use "add custom addon" , register package new custom addon.

or should create local development environment , somehow install addon , upload it? (does exist tutorial this?)

thank you!

there various ways in install arbitrary django packages aldryn project.

the quick, easy way

the easiest, quickest way place module(s) need project directory, placing them on python path. need make sure settings.py, urls.py , on appropriately configured. can push these changes aldryn itself. described in adding new application aldryn project - quick , easy way.

the create-an-addon way

a more involved way it, has benefits long-term use , re-use, turn package private or public aldryn addon. described in developing addon application aldryn.

a middle way

another way somewhere between two. add package project's requirements.in - can in various ways, example:

# standard install pypi some-package==1.2.3    # install archive https://example.com/some-package1.2.3.tar.gz#egg=some-package==1.2.3    # install github repository git+http://git@github.com/some-org/some-package.git#egg=some-package==1.2.3   

you need make sure settings.py, urls.py , on appropriately configured.

run aldryn project update. in effect redeploys project locally, except for:

docker-compose run --rm web python manage.py migrate - need run migrations manually, unlike on aldryn.

finally, git add, commit , push changes project, , redeploy on aldryn.

this method isn't yet documented in aldryn support system, soon.


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -