Skip to content
This repository was archived by the owner on Sep 3, 2020. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/views/pages/home.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@

<div class="partner grow">
<%= link_to "http://www.pizzajerkpdx.com/", target: "_blank" do %>
<%= image_tag "pizzajerk.jpeg", alt: "Pizza Jerk", width: "450px", height:"450px;", margin: "20px"%>
<%= image_tag "pizzajerk.jpg", alt: "Pizza Jerk", width: "450px", height:"450px;", margin: "20px"%>
<% end %>
</div>

Expand Down
8 changes: 1 addition & 7 deletions config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,5 @@ test:
#
# You can use this database configuration with:
#
# production:
# url: <%= ENV['DATABASE_URL'] %>
#
production:
<<: *default
database: codeforpdx_production
username: codeforpdx
password: <%= ENV['CODEFORPDX_DATABASE_PASSWORD'] %>
url: <%= ENV['DATABASE_URL'] %>
19 changes: 3 additions & 16 deletions config/initializers/carrierwave.rb
Original file line number Diff line number Diff line change
@@ -1,18 +1,5 @@
CarrierWave.configure do |config|
config.storage = :aws
config.aws_bucket = ENV.fetch('S3_BUCKET_NAME')
config.aws_acl = 'public-read'
config.aws_authenticated_url_expiration = 60 * 60 * 24 * 7
config.aws_attributes = {
expires: 1.week.from_now.httpdate,
cache_control: 'max-age=604800'
}
config.aws_credentials = {
access_key_id: ENV.fetch('AWS_ACCESS_KEY_ID'),
secret_access_key: ENV.fetch('AWS_SECRET_ACCESS_KEY'),
region: ENV.fetch('AWS_REGION'), # Required
stub_responses: Rails.env.test? # Optional, avoid hitting S3 actual during tests
}


config.permissions = 0666
config.directory_permissions = 0777
config.storage = :file
end
1 change: 0 additions & 1 deletion ssbackend/symptomsurvey_backend
Submodule symptomsurvey_backend deleted from b93eee