Instant prelaunch page for your Rails 3 app.
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
IMPORTANT NOTE: This repository is no longer actively maintained.
T-Minus is a Rails engine and set of generators that make it easier to create a prelaunch page for your Rails application. It includes support for the collection of email addresses from interested visitors, and it can automatically update your Campaign Monitor mailing list.
T-Minus currently only works with Rails 3 applications.
You can use T-Minus as a gem by adding it the following line to your Gemfile, then running
Or you can install it as a plugin:
rails plugin install http://github.com/johngrimes/t-minus.git
Once you have T-Minus installed, run the installation generator:
rails generate t_minus:install
By default, this will generate the following:
prelaunch_config.ymlfile is separated into environments, and has the following options:
active(optional, defaults to
false) - Set this to
truein environments in which you want the prelaunch page to show in place of the rest of your app. When your app launches, you can simply change this to
campaign_monitor_list_id(optional) - Add your Campaign Monitor API key and list ID to have new subscribers automatically added.
Having trouble finding your Campaign Monitor API key or list ID? Visit this page.
If you want to customise the PrelaunchController or the PrelaunchSubscriber model, simply use the built-in generators and make changes to the generated files:
rails generate t_minus:controller
rails generate t_minus:model
I encourage you to:
T-Minus works out on a Rails project in the test/rails_app directory.
First thing to do once you have cloned it down is to go into the test/rails_app directory and run
bundle installto get all the dependencies.
Then go back to the root of T-Minus and run:
If the features or specs don't pass, please let me know.
Copyright (c) 2010 John Grimes. See LICENSE for details.