Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider creation of a template project, eg similar to Angular (ng new my-app) #11

Open
viktor-yunenko opened this issue Nov 20, 2020 · 5 comments

Comments

@viktor-yunenko
Copy link

We have djangocms-installer, but its list of packages is rather simple - https://github.com/nephila/djangocms-installer/blob/develop/djangocms_installer/config/data.py#L79

Ideally we would have the ability to customize the setup, eg to include/exclude features as algolia search, url management, djangocms-styles, etc

I'm also maintaining https://gitlab.com/what-digital/djangocms-template, but it lacks documentation and contains a significant amount of what.digital-specific logic.

@viktor-yunenko
Copy link
Author

@macolo, @NicolaiRidani, it seems like another potential workgorup :)

@viktor-yunenko
Copy link
Author

I would also like to have the docker version, perhaps even as the default. Although as a macos user I dislike docker quite well, it would simplify community deployments tremendously, and would allow us to announce full support for many modern devops platforms.

@yakky
Copy link
Member

yakky commented Nov 20, 2020

i toyed with extending the installer to provide a more open architecture to allow adding any application or bundles
this is a PoC commit nephila/djangocms-installer@d0f6bf6 which has been in part extended here https://github.com/nephila/django-app-enabler
the idea is to have some local or remote json which describe the packages and the settings updates to install a set of package like: djangocms -a blog,search mysite and you have a site with a working djangocms-blog and aldryn-search (or django-cms-internalsearch) up and running

@viktor-yunenko
Copy link
Author

That sounds great 👍

One of the goals of mine is to make sure that we can use it at what. for all internal projects, since if we manage to organize it then what. dev team is going to signup for its maintenance 😁

But that imposes a set of requirements that usually I wouldn't put into a template builder. Eg right now djangocms-template is based on webpack 5 with plenty of configuration, which in my opinion a template ideally should either leave out or provide a set of options (rollup, webpack, nothing, etc...). Yet of course in what. projects I would be able to use only the webpack 5 setup.

@viktor-yunenko
Copy link
Author

viktor-yunenko commented Nov 30, 2020

Other internal requirements that I could mention:

  • it should be deployable to any docker-based service (eg AWS)
  • a working & scalable frontend setup with live reloading (eg webpack5 chunks, bootstrap4/5, scss, typescript, vuejs+ts, fonts, etc)
  • allauth user model with the email field as its username, email signup confirmation, etc
  • for the search we most certainly need djangocms-algolia with its vuejs integration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants