A simple, customizable landing page for email signup, based on Rack, Sinatra, HTML5 Boilerplate, and Twitter Bootstrap.
The current version has optional MailChimp and Google Analytics integration.
Please visit the live demo on Heroku and join the project mailing list
$ git clone git://github.com/quartzmo/email-landing-page.git
$ cd email-landing-page
$ rm -rf .git
$ bundle install
- Register for a free MailChimp account and generate an API key (required).
- Edit
app.rb
, adding your MailChimp API key and list name (required). - Modify
public/index.html
, replacing sample content with your own. - If you want Google Analytics, edit
config.ru
, uncomment the indicated lines, and add your Google Analytics account ID (optional). $ bundle exec rackup
to start the app locally on port 9292.- Test locally.
- Register for a free Heroku account (optional).
- Follow instructions to deploy to Heroku, using the Cedar stack if desired (optional).
- Configure custom domain name with Heroku.
Todo: Full instructions including Heroku deployment
Inspired by alphabetum/landing-page.