• Stars
    star
    168
  • Rank 225,507 (Top 5 %)
  • Language
    Ruby
  • License
    MIT License
  • Created over 15 years ago
  • Updated over 13 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

LaunchingSoon

Launching soon is a plugin that helps rails projects to manage a dedicated launching soon page before the actual launch date. The plugin also collects email from potential customers.

Click Here to see live Demo. You can download Demo application from https://github.com/Satish/Launching-Soon-Demo

Options available to store subscriber’s email addresses are:

  1. CSV file (public/data.csv).
  2. Campaign Monitor (www.campaignmonitor.com).
  3. Mail Chimp (www.mailchimp.com).
  4. Database.

Pre-requisites

You need an account (API Key and List ID) with:

Dependencies

If you are using Campaign Monitor this plugin requires the following gems:

gnumarcelo-campaigning

sudo gem install gnumarcelo-campaigning -s http://gems.github.com

dependencies for gnumarcelo-campaigning: Soap4r

sudo gem install soap4r

Installation

The latest version is available on GitHub. There are a few options for installing LaunchingSoon.

Install as a Rails plugin:

script/plugin install git://github.com/Satish/launching_soon.git

Clone from the Github repository:

git clone git://github.com/Satish/launching_soon.git

Configuration

Configuration is done via RAILS_ROOT/config/launching_soon.yml.

The options that you must specify are:

  1. css_file_name
  2. html_file_name
  3. option_to_store_email (default: csv)
  4. campaign_monitor_api_key and campaign_monitor_list_id
    OR
    mail_chimp_api_key and mail_chimp_list_id
    OR
    csv_file_name

    Example configuration (RAILS_ROOT/config/launching_soon.yml)
    
      html_file_name           : launching_soon.html.erb  # launching soon page contants (app/views/launching_soon.html.erb)
      css_file_name            : launching_soon.css       # stylesheet for launching soon page (public/stylesheets/launching_soon.css)
      option_to_store_email    : csv                      # option are : csv | campaign_monitor | mail_chimp | db
      campaign_monitor_api_key : _put_here_your_api_key_  # CAMPAIGN_MONITOR_API_KEY
      campaign_monitor_list_id : _put_here_your_list_id_  # CAMPAIGN_MONITOR_LIST_ID
      mail_chimp_api_key       : _put_here_your_api_key_  # MAIL_CHIMP_API_KEY
      mail_chimp_list_id       : _put_here_your_list_id_  # MAIL_CHIMP_LIST_ID
      csv_file_name            : data.csv                 # file to store email addresses of the subscribers (public/data.csv)
    

Usage

Step 1 : Include the LaunchingSoon in ApplicationController:


class ApplicationController < ActionController::Base
  include LaunchingSoon # if Rails.env.development?
  ...
end

Step 2 : Add following routes to your applications routes.rb


ActionController::Routing::Routes.draw do |map|
  map.resources :news_letter_subscribers, :only => [:create]
	...
end

OR, alternatively run the following command

ruby script/generate launching_soon_routes

Step 3 : Generate migration to add news_letter_subscribers table


class CreateNewsLetterSubscribers < ActiveRecord::Migration
  def self.up
    create_table :news_letter_subscribers do |t|
      t.string :email
      t.timestamps
    end
    add_index :news_letter_subscribers, :email
  end

def self.down drop_table :news_letter_subscribers end

end

OR, alternatively run the following command

rake db:migrate:launching_soon

Issue Tracker

Please submit any bugs or annoyances on the lighthouse tracker at

https://vinsol.lighthouseapp.com/projects/31867-launching-soon/overview

Copyright © 2009 [[email protected]], released under the MIT license

More Repositories

1

nectarcommerce

Quest for customizable E-commerce - the Elixir way
Elixir
320
star
2

fullcalendar_rails

Using FullCalendar jQuery plugin(http://arshaw.com/fullcalendar/) with Rails backend. You can create, edit, delete, reschedule, resize events.
JavaScript
304
star
3

fullcalendar-rails-engine

Rails engine implementation of fullcalendar jQuery plugin(http://arshaw.com/fullcalendar/). Create, edit, delete, reschedule, resize events like google calendar.
JavaScript
66
star
4

github2s3

Backup github repositories to Amazon S3
Ruby
47
star
5

expense-tracker

QuickAdd Expense Tracker
Java
32
star
6

sms-scheduler

Java
19
star
7

worldly

Elixir
6
star
8

fullcalendar-rails-engine-demo-app

Ruby
4
star
9

basic_presenter

Introduce presenters to your rails app
Ruby
3
star
10

solidus_admin_insights

Dashboard for querying and viewing you solidus store's metrics
Ruby
3
star
11

solidus_digital_assets

Ruby
2
star
12

onfleet

Ruby
2
star
13

webpay_interswitch

A simple gem to integrate your Rails app with Webpay Interswitch
Ruby
2
star
14

solidus_favorite_products

Solidus Favorite Products is an extension that allows the user to mark/unkmark a product as favorite from the product page.
Ruby
2
star
15

solidus_user_address_book

Adds address book functionality for registered user.
Ruby
2
star
16

VSCircularDial

Objective-C
1
star
17

sencha-snippets

JavaScript
1
star
18

vinsol.github.com

1
star
19

jewelly

JavaScript
1
star
20

pjdotcom_blog

PHP
1
star
21

nested_attributes_uniqueness

Ruby
1
star
22

questionaire

questionaire
Ruby
1
star
23

vinsol-grey-blog-theme

may-june 2010
PHP
1
star
24

solidus_events_tracker

Tracks user activity and events on the server side. Use Solidus Admin Insights to build reports of user activity.
Ruby
1
star
25

Local-Search-Application

Ruby
1
star
26

DiffableDataSourceExample

Introducing Diffable Data Source
Swift
1
star
27

vtapp_study_material

1
star