Skip to content

Instantly share code, notes, and snippets.

@selman
Created September 7, 2010 13:46
Show Gist options
  • Save selman/568352 to your computer and use it in GitHub Desktop.
Save selman/568352 to your computer and use it in GitHub Desktop.
source :rubygems
# Project requirements
gem 'rake'
gem 'rack-flash'
gem 'thin' # or mongrel
# Component requirements
gem 'haml'
gem 'dm-sqlite-adapter'
gem 'data_mapper'
# Test requirements
# Padrino
gem 'padrino', "0.9.15"
[slmn@gabriel projects]$ padrino-dev g project ttest --dev --template test_template.rb
apply /home/slmn/projects/test_template.rb
=> Executing: padrino-gen ttest ttest --orm=datamapper -r=/home/slmn/projects
create
create public/favicon.ico
create config.ru
create config/apps.rb
create config/boot.rb
create .gitignore
create tmp
create public/stylesheets
create public/javascripts
create public/images
create app
create app/app.rb
create app/views/layouts/.emptydirectory
exist app/views
create app/controllers
create app/helpers
create .components
create Gemfile
Applying 'datamapper' (orm)...
apply orms/datamapper
inject Gemfile
inject Gemfile
create config/database.rb
create app/models
inject config/boot.rb
Skipping generator for test component...
Skipping generator for mock component...
Skipping generator for script component...
Applying 'haml' (renderer)...
apply renderers/haml
inject Gemfile
Skipping generator for stylesheet component...
identical .components
=================================================================
ttest is ready for development! Next, follow these steps:
=================================================================
1) cd ttest
2) bundle install
=================================================================
=================================================================
ttest is ready for development! Next, follow these steps:
=================================================================
1) cd ttest
2) bundle install
=================================================================
project :orm => :datamapper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment