Created
July 23, 2009 11:48
-
-
Save vita/152798 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 Template for eshop_plugin | |
# GEMS | |
gem "vita-clearance", | |
:lib => 'clearance', | |
:source => 'http://gems.github.com', | |
:version => '0.6.9.2' | |
gem "mislav-will_paginate", | |
:lib => "will_paginate", | |
:source => "http://gems.github.com" | |
gem 'thoughtbot-shoulda', | |
:lib => 'shoulda', | |
:source => "http://gems.github.com", | |
:version => '>= 2.9.1' | |
gem 'thoughtbot-factory_girl', | |
:lib => 'factory_girl', | |
:source => 'http://gems.github.com', | |
:version => '1.2.1' | |
gem "cucumber", | |
:lib => false, | |
:version => ">=0.3.11" | |
gem "webrat", | |
:lib => false, | |
:version => ">=0.4.4" | |
gem "friendly_id" | |
# PLUGINS | |
plugin 'acts_as_category', :git => 'git://github.com/funkensturm/acts_as_category.git' | |
plugin 'paperclip', :git => 'git://github.com/thoughtbot/paperclip.git' | |
plugin 'i18n_label', :git => 'git://github.com/iain/i18n_label.git' | |
plugin 'eshop_plugin', :git => '[email protected]:xnet/eshop_plugin.git' | |
plugin 'pages_plugin', :git => '[email protected]:xnet/pages_plugin.git' | |
plugin 'preferencer', :git => 'git://github.com/vita/preferencer.git' | |
# RAKES AND GENERATORS | |
rake 'gems:install' | |
rake 'gems:unpack' | |
rake 'db:create:all' | |
rake 'eshop_plugin:sync_migrations' | |
rake 'pages_plugin:sync_migrations' | |
generate :clearance | |
generate :friendly_id | |
generate :migration, 'add_admin_to_user', 'admin:boolean' | |
rake 'db:migrate' | |
rake 'eshop_plugin:setup' | |
rake 'pages_plugin:setup' | |
#ROUTES | |
route "map.root :controller => 'eshop_plugin/categories'" | |
#COMMANDS | |
run "rm public/index.html" | |
run "rsync -ruv vendor/plugins/eshop_plugin/app/views/layouts app/views" | |
run "rsync -ruv vendor/plugins/eshop_plugin/public ." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment