Sha256: 5ef3169f9d3431118d121062568800f9ef05bb2fb36a4027057051b03471daac

Contents?: true

Size: 1.74 KB

Versions: 19

Compression:

Stored size: 1.74 KB

Contents

= Configuring

Decidim is a Ruby on Rails library, and as such we try to follow their conventions. Please read https://guides.rubyonrails.org/configuring.html[Configuring Rails Applications].

Decidim is also a command line executable capable of generating your own Decidim installation.

Install it as:

[source,console]
----
gem install decidim
----

For a simple, bare application, just run:

[source,console]
----
decidim my_decidim_application
----

However you can take advantage of the optional flags to automatically configure some aspects of the application.
Check the available options using the `--help` modifier:

[source,console]
----
decidim --help
----

For instance, if you are planing to use some external cloud storage service (such as S3), create a Decidim application using the `--storage` modifier:

[source,console]
----
decidim --storage s3 my_decidim_application
----

It is also recommended to use a proper Job Queue processor such as `sidekiq` or `delayed_job`. The `--queue` modifier allows you to generate a Decidim Application with a proper Sidekiq configuration (DelayedJob is not supported yet, PR wellcomed, but you can easily just follow the https://github.com/collectiveidea/delayed_job[official instructions]):

[source,console]
----
decidim --queue sidekiq my_decidim_application
----

Then make use of the related xref:configure:environment_variables.adoc[Environment Variables] to configure your particular provider.

Just as a reminder, these files are important:

* config/database.yml
* config/secrets.yml

Although most of these settings you can change them through xref:configure:environment_variables.adoc[Environment Variables].

You also have more settings in:

* xref:configure:initializer.adoc[Decidim initializer file].
* System panel.

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
decidim-0.28.4 docs/modules/configure/pages/index.adoc
decidim-0.27.9 docs/modules/configure/pages/index.adoc
decidim-0.28.3 docs/modules/configure/pages/index.adoc
decidim-0.27.8 docs/modules/configure/pages/index.adoc
decidim-0.28.2 docs/modules/configure/pages/index.adoc
decidim-0.27.7 docs/modules/configure/pages/index.adoc
decidim-0.28.1 docs/modules/configure/pages/index.adoc
decidim-0.27.6 docs/modules/configure/pages/index.adoc
decidim-0.28.0 docs/modules/configure/pages/index.adoc
decidim-0.27.5 docs/modules/configure/pages/index.adoc
decidim-0.28.0.rc5 docs/modules/configure/pages/index.adoc
decidim-0.28.0.rc4 docs/modules/configure/pages/index.adoc
decidim-0.27.4 docs/modules/configure/pages/index.adoc
decidim-0.27.3 docs/modules/configure/pages/index.adoc
decidim-0.27.2 docs/modules/configure/pages/index.adoc
decidim-0.27.1 docs/modules/configure/pages/index.adoc
decidim-0.27.0 docs/modules/configure/pages/index.adoc
decidim-0.27.0.rc2 docs/modules/configure/pages/index.adoc
decidim-0.27.0.rc1 docs/modules/configure/pages/index.adoc