Sha256: 9df31574fa18330229b00e842d9671df810f9e111c9a0a026a3f75c267eb2bae

Contents?: true

Size: 1.42 KB

Versions: 1

Compression:

Stored size: 1.42 KB

Contents

say 'Building Application with the rails-maker...'

files = []
files << 'general'
files << 'git'
files << 'db'
files << 'gemfile'
files << 'initializers'
files << 'simple_routes'
files << 'public_layout'
files << 'admin_part'
files << 'capistranos'

files.each do |file|
  apply File.expand_path("../lib/#{file}.rb", __FILE__)
end

## INITIAL COMMIT
# git add: "."
# git commit: "-a -m 'Initial commit'"
 
## FURTHER INSTRUCTIONS
say <<-D

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

  The rails-maker just added like 6 hours to your life.

  Next:
  1 - copy content of config/example-databse.yml to config/database.yml; write your username and password for database access, write your database names or leave default for all environments in database.yml
  2 - write your secret, public keys and appid in initializers/raven.rb
  3 - generate and copy newrelic.yml file to config directory
  4 - in terminal change your directory to application root
  5 - run 'rake db:create'
  6 - run 'rails generate devise:install' and 'rails generate devise User'
  7 - look at and correct config/deploy.rb file
  8 - run 'rake db:migrate'
  9 - run 'rails s' from your project directory
  10 - to deploy you have to run cap unicorn:setup, cap deploy:setup, cap deploy:migrations, cap sidekiq:start, after updates - cap deploy:update and cap unicorn:restart

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails-maker-0.1.11 templates/default/bootstrap.rb