=== CDGSUBEngine

A user registration/login and data separation engine for ruby on rails apps. This takes the tedious task having to rebuild user registration and data handling models for every rails project.

Environment
* Ruby 2.0.0+
* Rails 4.1.0+

Gem Dependencies (Included)
* Houser Gem
* Warden Gem
* Bcrypt Gem
* Dynamic_Form Gem

User Authentication System
* User Registration
* User Authentication

Account & Data Management
* Sub-domain Restriction
* Sub-domain Validation
* Separated Account Data

---InProgress---

Plan & Payment System
* Stripe Payment Integration
* Plan/Subscription Stripe Integration
* Plan Switching & Management

This project rocks and uses MIT-LICENSE.

=== CDGSUBEngine

A user registration/login and data separation engine for ruby on rails apps. This takes the tedious task having to rebuild user registration and data handling models for every rails project.

---Installation---

Step 1 - Add cdgsubengine to your GEMFILE
gem 'cdgsubengine', git: 'http://github.com/CoastDigitalGroup/cdg-subengine.git'

Step 2 - For subdomain functions add this line to the top of the rotues.rb
require 'cdgsubengine/constraints/subdomain_required'

Step 3 - Add this line near the bottom of the rotues.rb (before the final end) to mount the engine.
mount Cdgsubengine::Engine, :at => '/'

Step 4 - In terminal run commands.
bundle install
rake railties:install:migrations
rake db:migrate

---Operating Environment---
Environment
* Ruby 2.0.0+
* Rails 4.1.0+

Gem Dependencies (Included)
* Houser Gem
* Warden Gem
* Bcrypt Gem
* Dynamic_Form Gem

User Authentication System
* User Registration
* User Authentication

Account & Data Management
* Sub-domain Restriction
* Sub-domain Validation
* Separated Account Data

---InProgress---

Stripe Plan & Payment System
* Stripe Payment Integration
* Plan/Subscription Stripe Integration
* Plan Switching & Management

---License---
This project rocks and uses MIT-LICENSE.




Add some initial installation instructions to the readme file.
Add some initial installation instructions to the readme file.
