s3_website 2.12.3 → 2.13.0
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 +6 -1
- data/additional-docs/debugging.md +21 -0
- data/additional-docs/example-configurations.md +2 -0
- data/bin/s3_website +4 -0
- data/changelog.md +4 -0
- data/lib/s3_website/version.rb +1 -1
- data/resources/s3_website.jar.md5 +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6dec2f3091bddd92472b85e2baaf3ce226674a00
|
|
4
|
+
data.tar.gz: 8f71d51ea20ef0c95d1ff19fd6fc92a3db04a63c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4235de618b6457b7aed3a44bc4675a7c1669b1b95b0cfe406977602bcf144df7d5e2e134af52e68f928666fc03760e99c1bcbd6484f7a60aa370cc5a52f05650
|
|
7
|
+
data.tar.gz: 7781edee58ccbe08c88c5b57a57ca45adfa6a0361ab19f51c354dc6382307019700d8375d7d2d05510d983ce590593be810689f34459fddcb943ca56cd93c574
|
data/README.md
CHANGED
|
@@ -429,7 +429,12 @@ maintenance mode. This means that v1 will see only critical bugfix releases.
|
|
|
429
429
|
|
|
430
430
|
## Example configurations
|
|
431
431
|
|
|
432
|
-
|
|
432
|
+
- [Minimal configuration](additional-docs/example-configurations.md#minimal)
|
|
433
|
+
- [CloudFront optimisation](additional-docs/example-configurations.md#optimised-for-speed)
|
|
434
|
+
- [CloudFront multiple CNAMEs](additional-docs/example-configurations.md#multiple-cnames)
|
|
435
|
+
- [Using redirects](additional-docs/example-configurations.md#using-redirects)
|
|
436
|
+
|
|
437
|
+
See more [example-configurations](additional-docs/example-configurations.md)
|
|
433
438
|
|
|
434
439
|
## On security
|
|
435
440
|
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Tips for debugging
|
|
2
|
+
|
|
3
|
+
## Debugging with source code
|
|
4
|
+
|
|
5
|
+
First, clone the git repository:
|
|
6
|
+
|
|
7
|
+
git clone https://github.com/laurilehmijoki/s3_website.git /tmp/s3_website
|
|
8
|
+
|
|
9
|
+
Next, edit a source file.
|
|
10
|
+
|
|
11
|
+
For example, you can change the AWS logging level in the
|
|
12
|
+
[src/main/resources/log4j.properties](https://github.com/laurilehmijoki/s3_website/blob/master/src/main/resources/log4j.properties) file. See [AWS SDK for Java docs](http://docs.aws.amazon.com/AWSSdkDocsJava/latest/DeveloperGuide/java-dg-logging.html).
|
|
13
|
+
|
|
14
|
+
Another example: modify a `.scala` file by adding a `print()` statement into a
|
|
15
|
+
relevant location.
|
|
16
|
+
|
|
17
|
+
Then push your website with the cloned code:
|
|
18
|
+
|
|
19
|
+
cd YOUR_WEBSITE_DIR
|
|
20
|
+
/tmp/s3_website/bin/s3_website push
|
|
21
|
+
|
|
@@ -44,6 +44,8 @@ environment variables. It's convenient, since you can keep the `s3_website.yml`
|
|
|
44
44
|
in a public Git repo, and thus have your deployment configurations
|
|
45
45
|
version-controlled.
|
|
46
46
|
|
|
47
|
+
## Multiple CNAMEs
|
|
48
|
+
|
|
47
49
|
Sometimes you want to use multiple CNAMEs aliases in your CloudFront distribution:
|
|
48
50
|
|
|
49
51
|
````yaml
|
data/bin/s3_website
CHANGED
|
@@ -164,6 +164,10 @@ def autoinstall_java_or_print_help_and_exit(logger)
|
|
|
164
164
|
{
|
|
165
165
|
:package_manager_lookup => 'which yum',
|
|
166
166
|
:install_command => 'sudo yum install --assumeyes java-1.7.0-openjdk'
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
:package_manager_lookup => 'which dnf',
|
|
170
|
+
:install_command => 'sudo dnf install --assumeyes java-1.7.0-openjdk'
|
|
167
171
|
}
|
|
168
172
|
]
|
|
169
173
|
|
data/changelog.md
CHANGED
data/lib/s3_website/version.rb
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
e92233dd53c6a57ba3af62377698e206
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: s3_website
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.13.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lauri Lehmijoki
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-04-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|
|
@@ -109,6 +109,7 @@ files:
|
|
|
109
109
|
- LICENSE
|
|
110
110
|
- README.md
|
|
111
111
|
- Rakefile
|
|
112
|
+
- additional-docs/debugging.md
|
|
112
113
|
- additional-docs/development.md
|
|
113
114
|
- additional-docs/example-configurations.md
|
|
114
115
|
- additional-docs/setting-up-aws-credentials.md
|