Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Oct 31, 2013
  1. Update README.rdoc

    authored
Commits on Mar 16, 2013
  1. added new devise routes

    authored
    + 'sign_up' , 'sign_in' , 'sign_out'
    + 'invite'
    + 'account'
  2. installed 'devise_invitable'

    authored
    + Gemfile ~ gem 'devise_invitable'
    >$ bundle
    >$ rails g devise_invitable:install
    >$ rails g devise_invitable User
    >$ rails g devise_invitable:views
    > config/initzs/devise.rb ~ change default limit 'config.invitation_limit = 0'
    > models/user.rb ~ add attr_accessible :invitation_limit
    > models/user.rb ~ add "has_many :invitations,..." association
    >$ rake db:migrate
    > restart rails server
  3. created devise 'user' views

    authored
    >$ rails g devise:views
  4. configured devise 'user' model

    authored
    + added fields to migration for profile_name, time_zone, time_zone_active
    + added modules confirmable, lockable
    >$ rake db:migrate
    
    > Add User (see readme)
    > http://localhost:3000/users/sign_in
  5. generated devise 'user' model

    authored
    >$ rails g devise user
  6. installed 'devise'

    authored
    + Gemfile ~ gem 'devise'
    >$ bundle
    >$ rails g devise:install
    > setup from terminal instructions
Commits on Mar 15, 2013
  1. installed 'quiet_assets', 'better_errors' & RailsPanel

    authored
    + Gemfile ...
    + ~ gem 'quiet_assets'
    + ~ gem 'better_errors'
    + ~ gem 'binding_of_caller'
    + ~ gem 'meta_request'
    
    >$ bundle
  2. generated 'welcome' controller

    authored
    >$ rails g controller Welcome index
    >$ mv public/index.html public/Zindex.html
    + config/routes.rb ~ root :to => 'welcome#index'
Commits on Mar 14, 2013
  1. setup & deploy new Heroku app

    authored
    >$ heroku login
    >$ cd ~/erics_rails_app
    >$ heroku create
    
    > change app name at dashboard.heroku.com/apps
    > ... "Apps" > new-app-12345 > "Settings" > "Name"
    >$ git remote rm heroku
    >$ git remote add Heroku git@heroku.com:erics-rails-app.git
    
    > grant AWS RDS remote access (see readme)
    >$ heroku config:get DATABASE_URL
    >$ heroku addons:add amazon_rds url=mysql2://masteruser:pass@dbinstance.123endpoint321.amazonaws.com/databasename
    >$ heroku config:get DATABASE_URL
    > confirm new database settings
    
    > commit, merge develop ~> master, push master ~> Heroku
    >$ rake figaro:heroku
    >$ heroku run rake db:create
  2. setup MySQL database + created example YAML configuration

    authored
    >$ cp -f config/~database.example.yml config/database.yml
    > edit config/database.yml
    + stop git tracking of config/database.yml
    
    + Gemfile ~ gem 'mysql2'
    >$ bundle
    >$ rake db:create
  3. installed 'figaro'

    authored
    + Gemfile ~ gem 'figaro'
    + ... separated gem environments
    >$ bundle
    >$ rails g figaro:install
    
    + created config/~application.example.yml
    >$ cp -f config/~application.example.yml config/application.yml
    > edit config/application.yml
    
    + setup action_mailer with figaro
  4. created new Ruby on Rails app

    authored
    >$ rails new erics_rails_app
    >$ cd erics_rails_app
    >$ bundle update
    >$ git init
    
    + updated .gitignore + README
Commits on Mar 12, 2013
  1. Initial commit

    authored
Something went wrong with that request. Please try again.