forked from adamburmister/morning_glory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.rb
48 lines (40 loc) · 1.08 KB
/
install.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Installation instructions
puts '=' * 80
puts <<EOF
MORNING GLORY CONFIG
See the github wiki for more detailed configuration information at:
http://wiki.github.com/adamburmister/morning_glory/
= Morning Glory =
You will need to manually create & configure your config/morning_glory.yml file.
Sample config/morning_glory.yml:
---
production:
delete_prev_rev: true
bucket: cdn.production.yoursite.com
s3_logging_enabled: true
enabled: true
asset_directories:
- images
- javascripts
- stylesheets
revision: "20100316165112"
staging:
bucket: cdn.staging.yoursite.com
enabled: true
testing:
enabled: false
development:
enabled: false
= Amazon AWS =
You will need to manually create & configure your config/s3.yml file.
This file contains your access credentials for accessing the Amazon S3 service.
Sample config/s3.yml:
---
production:
access_key_id: YOUR_ACCESS_KEY
secret_access_key: YOUR_SECRET_ACCESS_KEY
staging:
access_key_id: YOUR_ACCESS_KEY
secret_access_key: YOUR_SECRET_ACCESS_KEY
EOF
puts '=' * 80