Sha256: 75c64b51f3d2f1103f0fca1f834ab1470b609d9753daef40ba17c534a7ed694e

Contents?: true

Size: 998 Bytes

Versions: 1

Compression:

Stored size: 998 Bytes

Contents

say "Building Application with Prologue..."

# Some git setup
git :init
run 'rm .gitignore'
create_file '.gitignore' do
<<-FILE
.bundle
.DS_Store
log/*.log
tmp/**/*
config/database.yml
db/*.sqlite3
public/system/**/**/**/*
*.swp
FILE
end

# Apply Gemfile
apply File.expand_path("../lib/gemfile.rb", __FILE__)

# Apply db create and migrations
apply File.expand_path("../lib/mysql2_db.rb", __FILE__)

# Add the thin gem
apply File.expand_path("../lib/thin.rb", __FILE__)

# Make initializers
apply File.expand_path("../lib/rack-fiber_pool.rb", __FILE__)

run 'bundle install'

# Apply Test Suite
apply File.expand_path("../lib/test_suite.rb", __FILE__)

say <<-D




  ########################################################################

  Prologue just added like 6 hours to your life. And it's async too!

  Template Installed :: Rails 3 Async

  Make sure you're using MRI Ruby 1.9

  Next run...
  rails s thin

  ########################################################################
D

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prologue-0.6.0 templates/async/bootstrap.rb