Sha256: c97e4e9d5d79b5208a22dbfbcb7ca72a97862a16e0f7c87f9ea10b4a222e2829

Contents?: true

Size: 1.21 KB

Versions: 3

Compression:

Stored size: 1.21 KB

Contents

# Yawl Rails

This is the UI and Rails integration component of [yawl](https://github.com/ricardochimal/yawl)

## Install Migrations

For rails versions >= 4, the engine should automatically hook into Rails and allow you to *just* run `rake db:migrate`.

For rails 3, migrations should be installed in the target app:

```
rake yawl_rails:install:migrations
```

Review the generated migrations then migrate:

```
rake db:migrate
```

## Routing

I like to mount the engine at the root, so the following would work but you can also mount it anywhere you see fit.

```
mount YawlRails::Engine, at: "/"
```

## Config

Extra config variables added:

* `Yawl::Config.pagination_per_page`: Number of processes to list per page

## Templates

It's currently setup so that you need to use haml in `yawl_rails` and assumes that you want to share your layout with it to maintain an integrated look.  One caveat is that it's using bootstrap 2--*maybe a rails4 only engine + bootstrap 3 is in the future?*.

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yawl_rails-0.3.0 README.md
yawl_rails-0.2.2 README.md
yawl_rails-0.2.1 README.md