Sha256: 5f0276a90d0b9b62c8b3bef5720cf1385185cafadf3a8750b54d59e8e4d32e02

Contents?: true

Size: 786 Bytes

Versions: 5

Compression:

Stored size: 786 Bytes

Contents

require 'almanack/server'

Almanack.config do |c|
  c.title = <%= title.inspect %>
  c.theme = "<%= theme_name %>" # available: <%= available_themes.join(', ') %>
  c.days_lookahead = 30

  # Your group's URL name is what you'd find at www.meetup.com/Your-Group-URL-Name/
  # You can get a Meetup API key from https://secure.meetup.com/meetup_api/key
  # c.add_meetup_group group_urlname: 'Christchurch-Ruby-Group', key: 'mysecretkey'

  # For a Google Calendar, find the "iCal" link under your Calendar's settings
  # c.add_ical_feed 'https://example.com/basic.ics'

  # Static events
  c.add_events [
    {
      title: "Edit my calendar's settings",
      description: "Edit the configuration at #{__FILE__}",
      start_date: Time.now + 30 * 60
    }
  ]
end

run Almanack::Server

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
almanack-1.0.5 templates/new/config.ru.tt
almanack-1.0.4 templates/new/config.ru.tt
almanack-1.0.3 templates/new/config.ru.tt
almanack-1.0.2 templates/new/config.ru.tt
almanack-1.0.1 templates/new/config.ru.tt