Sha256: 9d3044ffdd3f20ca2919bf41ef93ccfaeb464272ad16e01a9e262d3b038c412f
Contents?: true
Size: 1.16 KB
Versions: 1
Compression:
Stored size: 1.16 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: '/' ``` ## 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tramway-event-1.9.27.2 | README.md |