Really useful software project management and source code hosting.    tell me more...
BROWSE: projects / users / groups
Public clone: git://codaset.com/joelmoss/railings.git
star_disabled Dashboard Source Tickets Wiki Blog Network


Really Useful Social coding!

Codaset is an open system, so you can browse and search through all the open source projects, and check out what your friends are coding. Follow them, befriend them, and fork their code; quickly and easily.
Every single open source project you create is free, so come on and use Codaset at no cost. Your first private or semi-private project is also free. Read more about what it costs after that.

added base.css asset

comment0 comments   

by Joel Moss
2 months ago
commit:7b81698f82c7b30113dd04a4f3532513b62d4741
tree:463c7b7075cb0ae1fa68eb1a49386fb64670844b
parent:5978ef1e009fe5bdd2c6de17ede035e42b3116bd

11
 # Application Generator Template
22
 # Initializes a Rails app to use Mongoid and Devise
3
-# Usage: rails new app_name -m http://codaset.com/joelmoss/railings/source/master/raw/railings.rb
4
-
3
+# Usage: rails new app_name -m http://codaset.com/joelmoss/railings/source/master/raw/templates/rails3_devise_mongoid.rb -O -J
54
 # More info: http://codaset.com/joelmoss/railings
65
 
7
-# If you are customizing this template, you can use any methods provided by Thor::Actions
8
-# http://rdoc.info/rdoc/wycats/thor/blob/f939a3e8a854616784cac1dcff04ef4f3ee5f7ff/Thor/Actions.html
9
-# and Rails::Generators::Actions
10
-# http://github.com/rails/rails/blob/master/railties/lib/rails/generators/actions.rb
11
-
126
 puts "Modifying a new Rails app to use Mongoid and Devise..."
137
 
148
 puts "setting up source control with 'git'..."
------
1812
 end
1913
 git :init
2014
 git :add => '.'
21
-git :commit => "-m 'Initial commit of unmodified new Rails app'"
15
+git :commit => "-a -m 'Initial commit of unmodified new Rails app'"
2216
 
2317
 puts "removing unneeded files..."
2418
 run 'rm public/index.html'
------
4135
 puts "installing Blueprint..."
4236
 inside ('public/stylesheets') do
4337
   run "mkdir blueprint; touch base.css"
38
+  run 'curl -L http://codaset.com/joelmoss/railings/source/master/raw/assets/base.css > base.css'
4439
   run 'curl -L http://github.com/joshuaclayton/blueprint-css/raw/master/blueprint/ie.css > blueprint/ie.css'
4540
   run 'curl -L http://github.com/joshuaclayton/blueprint-css/raw/master/blueprint/screen.css > blueprint/screen.css'
4641
   run 'curl -L http://github.com/joshuaclayton/blueprint-css/raw/master/blueprint/print.css > blueprint/print.css'
------
251246
 end
252247
 
253248
 puts "checking everything into git..."
249
+git :add => '.'
254250
 git :commit => "-a -m 'modified Rails app to use Mongoid and Devise'"
255251
 
256252
 puts "Done setting up your Rails app with Mongoid and Devise."