From f60aa4022ab84795c13fdea44f875f50877eba2e Mon Sep 17 00:00:00 2001 From: Saurav Date: Thu, 9 Aug 2012 23:47:11 +0530 Subject: [PATCH] Added Readme section --- README.md | 40 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 37 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ce41676..64df9a9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,38 @@ -ideaz -===== -We will put the readme section out here. +A Sample application for Setting up Device gem along with Nify Generator Plugin + +Ruby version: 1.9.2 +Rails version: 3.2.7 +Database: PostgresSQL +==================================================================================================== + +Added the following gems in the Gemfile: + +1. gem "nifty-generators", :group => :development + +2. gem 'devise' + +3. gem 'tlsmail' (This is used by Device for sending mails) + +4. gem 'pg' (Added this gem for PostgreSQL support) + +You can clone it by and start the application by the following steps: + +1. git clone git://github.com/csaurav/tutorial-device-nifty-generator.git your-direcotry +2. cd your-direcotry +3. bundle install +4. rake db:create (Change the database parameters according to your system) +5. rake db:migrate +6. rails server + +If you want to deploy the application in Heroku, then inside the application.rb, you have to make the following changes: + +config.assets.initialize_on_precompile = false + + + + + + + +