Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
37 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|