middleman-aws 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +9 -7
- data/middleman-aws.gemspec +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82cf32dd6575cad7951d83413c3246b36ed678e4
|
4
|
+
data.tar.gz: 13bed7ca88bef306faf4a65e88c9a077f8359224
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12daf88153a2c0dc1e83fe26843024aca460f9e280d1cbad41d847e7e16e2d4f869c3e1bea3c63d1ed4d64a5ab0284bf171121bd8ac53f7972acbef6bf64ba9b
|
7
|
+
data.tar.gz: 0d89ae81c4affd4614d33bf488a1c97aeaee6d60c128f1453a70f0654df17aa84b7f8a7b63e0f74ef752d8984c008c9cb9af57a6c01f7c49f47e4049acbe62c7
|
data/README.md
CHANGED
@@ -3,24 +3,26 @@ middleman-aws
|
|
3
3
|
|
4
4
|
Simple set of [middleman](http://middlemanapp.com/) rake tasks to build and deploy to AWS using s3_sync and cloudfront invalidation.
|
5
5
|
|
6
|
-
# Installation
|
6
|
+
# Installation and Configuration
|
7
7
|
|
8
|
-
|
9
|
-
gem 'middleman-aws'
|
8
|
+
### Step 1: Add this gem to the Gemfile
|
10
9
|
|
11
|
-
## Step 2: Require this gem in the `Rakefile`:
|
12
10
|
gem 'middleman-aws'
|
13
11
|
|
14
|
-
|
12
|
+
### Step 2: Require this gem in the Rakefile
|
13
|
+
|
14
|
+
require 'middleman-aws'
|
15
|
+
|
16
|
+
### Step 3: Add your aws credentials
|
17
|
+
e.g. `~/.aws/acme.yml`
|
15
18
|
|
16
|
-
## Step 1: Add your aws credentials e.g. ~/.aws/acme.yml
|
17
19
|
This should contain the access and secret keys generated from the selected IAM user. This is the only file that will need to reside
|
18
20
|
outside the repository. `acme` is equivalent to the directory name for your project. Don't worry, validation will make sure you have it right.
|
19
21
|
|
20
22
|
access_key_id: XXXXXX
|
21
23
|
secret_access_key: XXXXXX
|
22
24
|
|
23
|
-
|
25
|
+
### Step 4: Add the necessary s3_sync and Cloudfront sections to your config
|
24
26
|
This is a sample of how a common config is setup with variables extracted:
|
25
27
|
|
26
28
|
# Configuration variables specific to each project
|
data/middleman-aws.gemspec
CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path('../lib', __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = 'middleman-aws'
|
6
|
-
s.version = '0.0.
|
6
|
+
s.version = '0.0.8'
|
7
7
|
s.platform = Gem::Platform::RUBY
|
8
8
|
|
9
9
|
s.authors = ['Kevin Ross']
|
@@ -25,8 +25,8 @@ Gem::Specification.new do |s|
|
|
25
25
|
# The version of middleman-core your extension depends on
|
26
26
|
# s.add_runtime_dependency 'middleman-core', ['>= 3.3.3']
|
27
27
|
|
28
|
-
s.
|
29
|
-
s.
|
28
|
+
s.add_dependency 'middleman-s3_sync' # https://github.com/fredjean/middleman-s3_sync
|
29
|
+
s.add_dependency 'middleman-cloudfront' # https://github.com/andrusha/middleman-cloudfront
|
30
30
|
|
31
31
|
s.add_dependency 'rake'
|
32
32
|
end
|