Created
September 7, 2010 13:46
-
-
Save selman/568352 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
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" |
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
[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 | |
================================================================= | |
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
project :orm => :datamapper |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment