0.01
No release in over a year
Rails engine for events
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Tramway::Event

Short description and motivation.

Usage

How to use my plugin.

Installation

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

gem 'tramway-event'
gem 'carrierwave'
gem 'more_html_tags'
gem 'configus'

2. And then execute:

$ bundle

3. Then run:

rails g tramway:event:install
rails db:migrate

4. Then make tramway-landing installation. How-to

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

Tramway.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

mount Tramway::Event::Engine, at: '/'

7. Add hosts in your environments via gem configus. What is configus?

config/configus.rb

Configus.build Rails.env do
  env :production do
    host 'https://your-site-domain.com'
  end
  env :development do
    host 'http://localhost:3000'
  end
  env :test, parent: :development
end

How-to

Create event

English docs coming soon... На русском

Contributing

Contribution directions go here.

License

The gem is available as open source under the terms of the MIT License.