Skip to content

Prelaunch app written in Ruby and Rails with email collection for two or more user types, social sharing after user signs in, and automailer to new user. Checkout the README.rd for more details!

Notifications You must be signed in to change notification settings

mikebabb/launchpage-rails

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTE: App not styled
This is a quick application to get up and running in Ruby on Rails for anyone looking to collect user emails and gauge interest before launching. We (@mikebabb and I), needed an application that provided signup for two types of users. Nothing on the market was really available for this… so we built it. Please fork and enjoy. I'm sure that someone will find bugs. I'm even more sure that someone in the community will make it even more awesome. This is filled with our content, but it wouldn't take you too long to change it to fit your need. Just a heads up. Cheers!

Features:
1.Email collection for two types of users
2.Social sharing
3. Auto mailer
4. Ability to export user emails via CSV

Items you should change to customise it for your needs (baring the obvious. I'm not listing those. You'll see the title, etc.):

  1. The .gitignore includes the mail initializer because it contains passwords/usernames etc. Here is the layout for stmp through google. Just fill with your own information:

require 'development_mail_interceptor'

ActionMailer::Base.smtp_settings = {
	:address			=> "smtp.gmail.com",
	:port					=> 587,
	:domain 			=> "mydomain",
	:user_name 		=> "[email protected]",
	:password 		=> "mypassword",
	:authenticaton => "plain",
	:enable_starttls_auto => true
}

ActionMailer::Base.default_url_options[:host] = "localhost:3000"
ActionMailer::Base.register_interceptor(DevelopmentMailInterceptor) if Rails.env.development?
  1. You'll want to go into app/views/static/success and change the details of the social plugins to match your domain/twitter/facebook.

About

Prelaunch app written in Ruby and Rails with email collection for two or more user types, social sharing after user signs in, and automailer to new user. Checkout the README.rd for more details!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 95.2%
  • JavaScript 2.8%
  • CoffeeScript 2.0%