-
Notifications
You must be signed in to change notification settings - Fork 2
Master #155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Master #155
Changes from 17 commits
f0add16
dbeda95
cb06729
2c9cc7d
28c0418
b435082
412e1cf
949e3af
cd6430d
00d5966
7bc966f
76f0d8e
c1186ed
11c0a3f
1612bc8
7b2202a
9743f17
f4e2d08
bdc2ad2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,3 +17,6 @@ | |
| /yarn-error.log | ||
|
|
||
| .byebug_history | ||
|
|
||
| # Ignore application configuration | ||
| /config/application.yml | ||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,14 @@ | ||
| Rails.application.configure do | ||
| config.paperclip_defaults = { | ||
| storage: :s3, | ||
| s3_credentials: { | ||
| bucket: ENV['S3_BUCKET_NAME'], | ||
| access_key_id: ENV['AWS_ACCESS_KEY_ID'], | ||
| secret_access_key: ENV['AWS_SECRET_ACCESS_KEY'], | ||
| s3_region: ENV['S3_REGION'], | ||
| s3_host_name: ENV['S3_HOST_NAME'] | ||
| } | ||
| } | ||
| # Settings specified here will take precedence over those in config/application.rb. | ||
|
|
||
| # Code is not reloaded between requests. | ||
|
|
@@ -28,7 +38,7 @@ | |
| # config.assets.css_compressor = :sass | ||
|
|
||
| # Do not fallback to assets pipeline if a precompiled asset is missed. | ||
| config.assets.compile = false | ||
| config.assets.compile = true | ||
|
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @s-espinosa @icorson3 I see a lot of conflicting information about setting this to true or false |
||
|
|
||
| # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb | ||
|
|
||
|
|
@@ -88,4 +98,7 @@ | |
|
|
||
| # Do not dump schema after migrations. | ||
| config.active_record.dump_schema_after_migration = false | ||
|
|
||
|
|
||
|
|
||
| end | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,16 +17,18 @@ | |
|
|
||
| # Environmental secrets are only available for that specific environment. | ||
|
|
||
| development: | ||
|
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @s-espinosa @icorson3 I tried to remove this, but for some reason it still got pushed to GH? |
||
| secret_key_base: ffa096348fa590e131d67e30b0c3815610b7679a8bbf87e1bebff212e649d965585fccf955165d5999dfb562018d97892c5d217686fec21fee9e07943a8c4c11 | ||
|
|
||
| test: | ||
| secret_key_base: b13aa68d17a60b96bd5ed46033e75f9d2c327c7cc53335d3faef95d7409be140c779efbe367cc4f88cd4221c1d90009be39a5bf6f77da6e0ec33dc06917d489e | ||
|
|
||
| # Do not keep production secrets in the unencrypted secrets file. | ||
| # Instead, either read values from the environment. | ||
| # Or, use `bin/rails secrets:setup` to configure encrypted secrets | ||
| # and move the `production:` environment over there. | ||
|
|
||
| production: | ||
| secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> | ||
| secret_key_base: <%= Figaro.env.secret_key_base %> | ||
|
Owner
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @s-espinosa @icorson3 |
||
|
|
||
| development: | ||
| secret_key_base: <%= Figaro.env.secret_key_base %> | ||
|
|
||
| test: | ||
| secret_key_base: <%= Figaro.env.secret_key_base %> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| class AddAvatarToFreelancers < ActiveRecord::Migration[5.1] | ||
|
|
||
| def self.up | ||
| add_attachment :freelancers, :avatar | ||
| end | ||
|
|
||
| def self.down | ||
| remove_attachment :freelancers, :avatar | ||
| end | ||
|
|
||
| end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@s-espinosa @icorson3
I think this might be set up right, but I'm not sure.