Skip to content

Commit

Permalink
#96 amazon settings added to the enviromental settings
Browse files Browse the repository at this point in the history
  • Loading branch information
H. Türkü Kaya committed Dec 1, 2013
1 parent a1490b6 commit b7cc645
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
8 changes: 7 additions & 1 deletion templates/config/settings/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,10 @@ smtp:
enable_starttls_auto: true
user_name: '[email protected]'
password: 'password'
authentication: 'plain'
authentication: 'plain'
S3:
bucket: projectname-production
access_key_id: XXXXXXXXXXXXXXXX
secret_access_key: YYYYYYYYYYYYYYYYYY
aws_url: http://projectname-production.s3.amazonaws.com/
aws_raw_url: projectname-production.s3.amazonaws.com
9 changes: 8 additions & 1 deletion templates/config/settings/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,11 @@ smtp:
enable_starttls_auto: true
user_name: '[email protected]'
password: 'password'
authentication: 'plain'
authentication: 'plain'

S3:
bucket: projectname-staging
access_key_id: XXXXXXXXXXXXXXXX
secret_access_key: YYYYYYYYYYYYYYYYYY
aws_url: http://projectname-staging.s3.amazonaws.com/
aws_raw_url: projectname-staging.s3.amazonaws.com
3 changes: 2 additions & 1 deletion templates/cybele_Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source 'https://rubygems.org'
source 'http://rubygems.org'

gem 'rails', '~> 4.0.1'
gem 'pg', '~> 0.16.0'
Expand Down Expand Up @@ -32,6 +32,7 @@ gem 'capistrano', '~> 2.15.5'
gem 'capistrano-ext', '~> 1.2.1'
gem 'unicorn', '~> 4.6.3'
gem 'recipes_matic', '~> 0.2.0'
gem 'aws-sdk', '~> 1.29.0'

# gem 'rails-observers'

Expand Down

4 comments on commit b7cc645

@adamdilek
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@onurozgurozkan
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@onurozgurozkan
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think Aws.S3.bucket is better that S3.bucket . We can use other service in the future.

Aws:
  S3:
    bucket: projectname-production

@tayfunoziserikan
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@onurozgurozkan +1 Aws.S3.bucket

Please sign in to comment.