-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
25 lines (14 loc) · 978 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Exclusivity
-----------
A plugin for locking down a site for private beta, using a basic invite system.
- By Elliott Draper
Installation
------------
After the plugin is installed, just run:
rake db:migrate
as usual to setup the invite table.
Once the plugin is installed and setup, all pages but the invite pages and login pages will be locked down. You'll need to login, or provide a valid invite code, to gain access to the site again. It assumes standard helpers for login pages (login_path etc). Invites can support expiry dates, or can be set with no expiry (expires_at set to nil).
There is another rake task included for quickly creating new invite codes (with no expiry) - simply run:
rake exclusivity:invites:create
This will output ten invite codes that have been created and can be used to access the site.
The plugin is fairly basic, but should suit a fair few private beta scenarios. Any questions, comments, or patches, please e-mail [email protected].