0.01
No commit activity in last 3 years
No release in over 3 years
Setup beta invite system with ease
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

~> 3.2.13
 Project Readme

BetaInvite

A simple gem to help you build your beta_invite page up and running in no time

Project unmaintained

  • Features
  • Installation
  • Setup
    • Initializer
    • Migrations
    • Mount
  • API
  • Views

For version >= 1.0.0

Features

  • Quick and easy setup of Beta Invite engine and its functionality
  • Random Token stored and generated with each invite
  • Customize and modify all the views and email templates
  • Send emails as notification when someone requests for an invite to the admins
  • Send Thank you emails which can easily be customized by the developer in future.

** [⬆]**

Installation

gem install beta_invite

or with the use of Bundler, you can just write beta_invite in your Gemfile and run bundle command in your CLI.

Installing from the source:

gem 'beta_invite', :github => 'git://github.com/ktkaushik/beta_invite.git'

If you are living on the edge with beta_invite gem, then you should refer this

** [⬆]**

Setup

Initializer

The beta_invite gem has a beta_invite installer. First step to setup is to run the install generator

rails g beta_invite:install

This would create an initializer named beta_invite.rb

** [⬆]**

Migrations

The setup is very primary as of now. Once installed, you will need to copy the migrations by running this command

rake beta_invite:install:migrations

Run the migrations

rake db:migrate

The above migrations would create a beta_invites table in your app

** [⬆]**

###Mount Now mount the BetaInvite engine by going into your routes.rb file and adding the below line

mount BetaInvite::Engine, at: '/'

Where are the invites ?

Well, you can fire up your rails console and you will see that all the tables are under BetaInvite::BetaInvite

This should fetch you all the records

BetaInvite::BetaInvite.all

** [⬆]**

##Views

for version >= 0.1.1

You can generate the views that the gem has into your rails app by this below command

rails generate beta_invite:views

You may wanna upgrade your gem at this point in time

gem update beta_invite

Obviously, you can mount it to any route.

You may wanna restart your server

[⬆]

Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Thank you !

** [⬆] **