Created
August 25, 2011 22:04
-
-
Save dpmccabe/1172111 to your computer and use it in GitHub Desktop.
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
$ rails g active_admin:install | |
invoke devise | |
generate devise:install | |
create config/initializers/devise.rb | |
create config/locales/devise.en.yml | |
=============================================================================== | |
Some setup you must do manually if you haven't yet: | |
1. Setup default url options for your specific environment. Here is an | |
example of development environment: | |
config.action_mailer.default_url_options = { :host => 'localhost:3000' } | |
This is a required Rails configuration. In production it must be the | |
actual host of your application | |
2. Ensure you have defined root_url to *something* in your config/routes.rb. | |
For example: | |
root :to => "home#index" | |
3. Ensure you have flash messages in app/views/layouts/application.html.erb. | |
For example: | |
<p class="notice"><%= notice %></p> | |
<p class="alert"><%= alert %></p> | |
=============================================================================== | |
invoke active_record | |
create app/models/admin_user.rb | |
invoke test_unit | |
create test/unit/admin_user_test.rb | |
create test/fixtures/admin_users.yml | |
create db/migrate/20110825215652_devise_create_admin_users.rb | |
insert app/models/admin_user.rb | |
route devise_for :admin_users | |
gsub app/models/admin_user.rb | |
gsub config/routes.rb | |
insert db/migrate/20110825215652_devise_create_admin_users.rb | |
create config/initializers/active_admin.rb | |
create app/admin | |
create app/admin/dashboards.rb | |
route ActiveAdmin.routes(self) | |
generate active_admin:assets | |
create public/javascripts/active_admin.js | |
create public/images/active_admin | |
create public/images/active_admin/admin_notes_icon.png | |
create public/images/active_admin/datepicker/datepicker-header-bg.png | |
create public/images/active_admin/datepicker/datepicker-input-icon.png | |
create public/images/active_admin/datepicker/datepicker-next-link-icon.png | |
create public/images/active_admin/datepicker/datepicker-nipple.png | |
create public/images/active_admin/datepicker/datepicker-prev-link-icon.png | |
create public/images/active_admin/loading.gif | |
create public/images/active_admin/nested_menu_arrow.gif | |
create public/images/active_admin/nested_menu_arrow_dark.gif | |
create public/images/active_admin/orderable.png | |
create db/migrate/20110825165709_create_admin_notes.rb | |
create db/migrate/20110825165710_move_admin_notes_to_comments.rb | |
$ rails g active_admin:assets | |
identical public/javascripts/active_admin.js | |
exist public/images/active_admin | |
identical public/images/active_admin/admin_notes_icon.png | |
identical public/images/active_admin/datepicker/datepicker-header-bg.png | |
identical public/images/active_admin/datepicker/datepicker-input-icon.png | |
identical public/images/active_admin/datepicker/datepicker-next-link-icon.png | |
identical public/images/active_admin/datepicker/datepicker-nipple.png | |
identical public/images/active_admin/datepicker/datepicker-prev-link-icon.png | |
identical public/images/active_admin/loading.gif | |
identical public/images/active_admin/nested_menu_arrow.gif | |
identical public/images/active_admin/nested_menu_arrow_dark.gif | |
identical public/images/active_admin/orderable.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment