You can use this project as a starting point for a Rails web application. It requires Rails 4 uses Mongoid as database, Devise/OmniAuth for user management and authentication, CanCan for user access control, and Twitter Bootstrap 3.0 for CSS styling.
- Install rails 4:
gem install rails
- Generate new rails app from template:
rails new myapp --skip-bundle -m https://raw.github.com/krushi123/gurujada-startup-app/master/template.rb
cd myapp
- Edit
db/seed.rb
to customimze admin user settings then runrake db:seed
to create admin user - Edit
config/initializers/devise.rb
to customize your omniauth providers:
config.omniauth :facebook, ENV['FACEBOOK_KEY'], ENV['FACEBOOK_SECRET'], scope: 'email,user_birthday,read_stream'
config.omniauth :twitter, ENV['CONSUMER_KEY'], ENV['CONSUMER_SECRET']