This site uses cookies. By continuing to browse the site, you agree to our use of cookies. Find out more about cookies.
Skip to main content
Metadecidim's official logo
  • English Triar la llengua Elegir el idioma Choose language
    • Català
    • Castellano
Sign Up Sign In
  • Home
  • Processes
  • Assemblies
  • Initiatives
  • Consultations
  • Conferences
  • Help

Propose new functionalities for Decidim software

#DecidimRoadmap Designing Decidim together

Phase 1 of 1
Open 2019-01-01 - 2030-12-31
Process phases Submit a proposal
  • The process
  • Debates
  • Propose new features
  • News
chevron-left Back to list

Create an installer package

Avatar: Ivan Vergés Ivan Vergés verified-badge
09/01/2019 13:40  

It would very helpful to provide an installer for Decidim.

I think there are 3 possibilities:

1. A DEB package just like Gitlab does with its omnibus packages:
https://docs.gitlab.com/omnibus/manual_install.html

This system allows to install everything but it changes the current host system. It's good when installed in a fresh machine.

2. Docker, that's a very containerized method but it requires docker and certain sys-admin skills. A good example is KoboToolbox, with provides a docker production ready installation:
https://github.com/kobotoolbox/kobo-docker

3. A Snap package, although created by Ubuntu it can be installed elsewhere, it may be a very interesting format as it allows self-updating and is a semi-containerized solution. It doesn't mess with your current software installed but it can package all the necessary components and the maintainer doesn't need to care about the host system. NextCloud uses this method:
https://github.com/nextcloud/nextcloud-snap

  • Filter results for category: Installation and configuration Installation and configuration

List of Endorsements

Avatar: olivier olivier
Avatar: Oliver Azevedo Barnes Oliver Azevedo Barnes
Avatar: txema txema verified-badge
Endorsements count3
Create an installer package Comments 2

Reference: MDC-PROP-2019-01-13664
Version number 1 (of 1) see other versions
Check fingerprint

Fingerprint

The piece of text below is a shortened, hashed representation of this content. It's useful to ensure the content hasn't been tampered with, as a single modification would result in a totally different value.

Value: eaece133a44c61c74ee6d7ee43d034bfad93a9d55b74f53ba6664b642bf2cffb

Source: {"body":{"en":"It would very helpful to provide an installer for Decidim.\r\n\r\nI think there are 3 possibilities:\r\n\r\n1. A DEB package just like Gitlab does with its omnibus packages: \r\nhttps://docs.gitlab.com/omnibus/manual_install.html\r\n\r\nThis system allows to install everything but it changes the current host system. It's good when installed in a fresh machine.\r\n\r\n2. Docker, that's a very containerized method but it requires docker and certain sys-admin skills. A good example is KoboToolbox, with provides a docker production ready installation: \r\nhttps://github.com/kobotoolbox/kobo-docker\r\n\r\n3. A Snap package, although created by Ubuntu it can be installed elsewhere, it may be a very interesting format as it allows self-updating and is a semi-containerized solution. It doesn't mess with your current software installed but it can package all the necessary components and the maintainer doesn't need to care about the host system. NextCloud uses this method:\r\nhttps://github.com/nextcloud/nextcloud-snap"},"title":{"en":"Create an installer package"}}

This fingerprint is calculated using a SHA256 hashing algorithm. In order to replicate it yourself, you can use an MD5 calculator online and copy-paste the source data.

Share:

link-intact Share link

Share link:

Please paste this code in your page:

<script src="https://meta.decidim.org/processes/roadmap/f/122/proposals/13664/embed.js"></script>
<noscript><iframe src="https://meta.decidim.org/processes/roadmap/f/122/proposals/13664/embed.html" frameborder="0" scrolling="vertical"></iframe></noscript>

See the collaborative draft
This proposal is the result of a collaborative draft. Review the history

Report inappropriate content

Is this content inappropriate?

Reason

2 comments

Order by:
  • Older
    • Best rated
    • Recent
    • Older
    • Most discussed
Avatar: Mohammed Mohammed
24/02/2021 16:07
  • Get link Get link
In favor  

Hi Ivan, I would like to thank you for the great support that you have provided me on github.
Yes! that would be perfect idea, I don't mind to have special(fresh) Machin for that purpose it would be very helpful, recently I have tried to install it using the Linux shell script but I always get an error but I have used the manual way which made it easier a little bit but took me few days to finish the installation.
The biggest problem I have faced is with compatibility of the gems, some old gems don't work with other gems and that generates a lot of problems, solution could be a runnable script that installs, update the required gems and insert them to the Gemfile file and update or install the required related gems which makes it much more faster and a good solution.
When it comes to docker, I agree yes it needs a good experience and practice, I have recently took a course on how to interact with docker but when I came to Decidim I found difficulties due to the different version that's used.
Best Regards.

Avatar: Oliver Azevedo Barnes Oliver Azevedo Barnes
24/02/2021 21:02
  • Get link Get link

About 2) Docker, some strides were made towards making images more usable and better documented. The Decidim app image hasn't been battle-tested on production yet, though, and most likely will need some tuning. It'd be great to get feedback on real usage in order to improve it.

Latest docs, including some info on deployment and sample docker-compose files, can be found on https://docs.decidim.org/en/develop/docker/

Another issue is configurability (having docker images built with a custom set of modules). There were some ideas thrown around that topic on decidim/docker: https://github.com/decidim/docker/discussions/53

Includes some discussion of different (non-docker) installation scenarios there as well, in the comments.

Comment moderated on 06/04/2021 10:15
Comment moderated on 06/04/2021 10:15

Add your comment

Sign in with your account or sign up to add your comment.

Loading comments ...

  • Terms and conditions of use
  • About the community
  • Download Open Data files
  • Metadecidim at Twitter Twitter
  • Metadecidim at Instagram Instagram
  • Metadecidim at YouTube YouTube
  • Metadecidim at GitHub GitHub
Creative Commons License Website made with free software.
Decidim Logo

Confirm

OK Cancel

Please sign in

decidim Sign in with Decidim
Or

Sign up

Forgot your password?