Sha256: fbdddc6efeec4c1845c114b1331885e7b78fd613e9615c7897dd743be69fc497

Contents?: true

Size: 641 Bytes

Versions: 22

Compression:

Stored size: 641 Bytes

Contents

def template(from, to)
  erb = File.read(File.expand_path("../templates/#{from}", __FILE__))
  put ERB.new(erb).result(binding), to
end

def set_default(name, *args, &block)
  set(name, *args, &block) unless exists?(name)
end

namespace :deploy do
  desc "Install everything onto the server"
  task :install do
    run "#{sudo} apt-get -y update"
    run "#{sudo} apt-get -y install curl git-core python-software-properties build-essential openssl libreadline6 libreadline6-dev zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion"
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
pixelforce_cms-0.9.2 lib/generators/pixelforce_cms/templates/recipes/base.rb
pixelforce_cms-0.9.1 lib/generators/pixelforce_cms/templates/recipes/base.rb