Pear for 1.4, mage for 1.5. File downloaded into /downloader/.cache/community/
./pear download magento-community/Shipping_Agent
./mage download community Shipping_Agent
| run 'rm README' | |
| run 'rm config/database.yml.example' | |
| run 'rm config/database.yml' | |
| run 'rm public/index.html' | |
| run 'rm public/favicon.ico' | |
| run 'rm public/images/rails.png' | |
| run 'touch README' | |
| file '.gitignore', <<-FILE | |
| .DS_Store |
| # Cleaning up and extending the Gemfile | |
| remove_file 'Gemfile' | |
| create_file 'Gemfile', <<-GEMFILE | |
| source 'http://rubygems.org' | |
| gem 'rails', '3.0.1' | |
| gem 'sqlite3-ruby', :require => 'sqlite3' | |
| gem 'haml', '~> 3.0.12' |
| require 'sj' | |
| run SinatraJekyll |
| // Edit to suit your needs. | |
| var ADAPT_CONFIG = { | |
| // Where is your CSS? | |
| path: 'assets/css/', | |
| // false = Only run one time, when page first loads. | |
| // true = Change for window resize or page tilt too. | |
| dynamic: true, | |
| // First range entry is the minimum. |
| namespace :deploy do | |
| desc "Deploy to Heroku" | |
| task :heroku do | |
| Rake::Task["deploy:precompile_assets_and_upload_to_s3"].invoke | |
| Rake::Task["deploy:push_heroku"].invoke | |
| end | |
| desc "Precompile assets and upload to s3" | |
| task :precompile_assets_and_upload_to_s3 do | |
| storage = Fog::Storage.new :provider => 'AWS', :aws_access_key_id => "123", :aws_secret_access_key => "123" |
| #!/usr/bin/env ruby | |
| require 'rubygems' | |
| require 'shopify_api' | |
| require 'thor' | |
| require 'abbrev' | |
| require 'yaml' | |
| module ShopifyAPI | |
| class Cli < Thor | |
| include Thor::Actions |
| #!/bin/bash | |
| # This is the current stable release to default to, with Omnibus patch level (e.g. 10.12.0-1) | |
| # Note that the chef-full template downloads 'x.y.z' not 'x.y.z-r' which should be a duplicate of the latest -r | |
| release_version="10.12.0-1" | |
| use_shell=0 | |
| # Check whether a command exists - returns 0 if it does, 1 if it does not | |
| exists() { | |
| if command -v $1 &>/dev/null |