Sha256: 6e21027023efd3e17a3359b1a0c6b8fdc0708cfe17ac23f6c9a6a98ba4c8e487

Contents?: true

Size: 1.32 KB

Versions: 3

Compression:

Stored size: 1.32 KB

Contents

# Decidim::ProcessGroupsContentBlock

Adds a process groups content block to your Decidim instance to be used on the
home page of the app.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'decidim-process_groups_content_block'
```

And then execute:

```bash
$ bundle
```

## Usage

1. Install the gem
1. As an administrator, go to Admin dashboard > Settings > Homepage
1. Enable the "Highlighted process groups" block by dragging it to the active
   content blocks section

## Contributing

See [Decidim](https://github.com/decidim/decidim).

### Testing

To run the tests run the following in the gem development path:

```bash
$ bundle
$ DATABASE_USERNAME=<username> DATABASE_PASSWORD=<password> bundle exec rake test_app
$ DATABASE_USERNAME=<username> DATABASE_PASSWORD=<password> bundle exec rspec
```

Note that the database user has to have rights to create and drop a database in
order to create the dummy test app database.

In case you are using [rbenv](https://github.com/rbenv/rbenv) and have the
[rbenv-vars](https://github.com/rbenv/rbenv-vars) plugin installed for it, you
can add these environment variables to the root directory of the project in a
file named `.rbenv-vars`. In this case, you can omit defining these in the
commands shown above.

## License

See [LICENSE-AGPLv3.txt](LICENSE-AGPLv3.txt).

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-process_groups_content_block-0.16.0 README.md
decidim-process_groups_content_block-0.15.0 README.md
decidim-process_groups_content_block-0.14.4 README.md