Sha256: 68ab2e172a57750be719d63dc43dc4ec97510731d72a10ec3bb5619111f033d2

Contents?: true

Size: 1.31 KB

Versions: 10

Compression:

Stored size: 1.31 KB

Contents

# Tramway::Event
Short description and motivation.

## Usage
How to use my plugin.

## Installation

#### 1. Add this line to your application's Gemfile:

```ruby
gem 'tramway-event'
gem 'carrierwave'
gem 'more_html_tags'
```

#### 2. And then execute:
```bash
$ bundle
```

#### 3. Then run:
```shell
rails g tramway:event:install
rails db:migrate
```

#### 4. Then make `tramway-landing` installation. [How-to](https://github.com/ulmic/tramway-dev/blob/develop/tramway-landing/README.md#installation)

Versions table

| tramway-event | tramway-landing |
| ------------- | --------------- |
| < 1.9.27.1 | 1.x |
| >= 1.9.27.2 | 2.x | 

#### 5. Add events to admin panel

*config/initializers/tramway.rb*
```ruby
Tramway::Admin.set_available_models ::Tramway::Event::Event, ::Tramway::Event::ParticipantFormField, ::Tramway::Event::Participant, project: #{project_which_you_used_in_the_application}
```

#### 6. Add events routes to the app

*config/routes.rb*
```ruby
mount Tramway::Event::Engine, at: '/'
```

## How-to

### Create event

English docs coming soon...
[На русском](https://github.com/ulmic/tramway-dev/tree/develop/tramway-event/docs/russian)

## Contributing
Contribution directions go here.

## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
tramway-event-1.9.29 README.md
tramway-event-1.9.28.4 README.md
tramway-event-1.9.28.3 README.md
tramway-event-1.9.28.2 README.md
tramway-event-1.9.28.1 README.md
tramway-event-1.9.28 README.md
tramway-event-1.9.27.6 README.md
tramway-event-1.9.27.5 README.md
tramway-event-1.9.27.4 README.md
tramway-event-1.9.27.3 README.md