Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
sample_blog $ padrino-gen admin
=> Located unlocked Gemfile for development
create admin
create admin/app.rb
create admin/controllers/base.rb
create admin/controllers/sessions.rb
create public/admin
create public/admin/stylesheets/base.css
create public/admin/stylesheets/themes/amro/style.css
create public/admin/stylesheets/themes/bec/style.css
create public/admin/stylesheets/themes/bec-green/style.css
create public/admin/stylesheets/themes/blue/style.css
create public/admin/stylesheets/themes/default/style.css
create public/admin/stylesheets/themes/djime-cerulean/style.css
create public/admin/stylesheets/themes/kathleene/style.css
create public/admin/stylesheets/themes/olive/style.css
create public/admin/stylesheets/themes/orange/style.css
create public/admin/stylesheets/themes/reidb-greenish/style.css
create public/admin/stylesheets/themes/ruby/style.css
create public/admin/stylesheets/themes/warehouse/style.css
create app/models/account.rb
create test/models/account_test.rb
create db/migrate/001_create_accounts.rb
create admin/controllers/accounts.rb
create admin/views/accounts/_form.haml
create admin/views/accounts/edit.haml
create admin/views/accounts/index.haml
create admin/views/accounts/new.haml
inject admin/app.rb
force app/models/account.rb
create db/seeds.rb
create admin/views/base/_sidebar.haml
create admin/views/base/index.haml
create admin/views/layouts/application.haml
create admin/views/sessions/new.haml
inject admin/app.rb
append config/apps.rb
gsub admin/views/accounts/_form.haml
=================================================================
Admin has been successfully installed, now follow this steps:
=================================================================
1) Run migrations
2) Run padrino rake seed
=================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment