-
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
Open
BLaurenB
wants to merge
19
commits into
dev
Choose a base branch
from
master
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Master #155
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
f0add16
add 2 failed tests
wiseemily88 dbeda95
added new form path
wiseemily88 cb06729
Added form
wiseemily88 2c9cc7d
passing tests
wiseemily88 28c0418
Updated number format
wiseemily88 b435082
bug with link not displaying
wiseemily88 412e1cf
link bug still not resolved
wiseemily88 949e3af
Merge branch 'dev' into user-story-23
wiseemily88 cd6430d
Added paperclip gem and aws
wiseemily88 00d5966
updated csv
7bc966f
changed path from admin dashboard to go to admin orders
76f0d8e
using heroku article seems to be working so far. Able to run migrations
c1186ed
getting paperclip and figaro in use
11c0a3f
paperclip seems to be working -- with [ush to heroku
1612bc8
still working on paperclip. currently deployes to locahost but not he…
7b2202a
trying some things to get paperclip additions to push to heroku
9743f17
wip
f4e2d08
working with Sal to get paperclip working with AWS
bdc2ad2
updating
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Empty file.
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,17 @@ | ||
| Rails.application.configure do | ||
|
|
||
| config.paperclip_defaults = { | ||
| storage: :s3, | ||
| s3_credentials: { | ||
| bucket: ENV.fetch('S3_BUCKET_NAME'), | ||
| access_key_id: ENV.fetch('AWS_ACCESS_KEY_ID'), | ||
| secret_access_key: ENV.fetch('AWS_SECRET_ACCESS_KEY'), | ||
| s3_region: ENV.fetch('AWS_REGION'), | ||
| } | ||
| } | ||
|
|
||
| Paperclip.options[:command_path] = "/usr/local/bin/config" | ||
|
|
||
| # Settings specified here will take precedence over those in config/application.rb. | ||
|
|
||
| # Code is not reloaded between requests. | ||
|
|
@@ -28,7 +41,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 +101,7 @@ | |
|
|
||
| # Do not dump schema after migrations. | ||
| config.active_record.dump_schema_after_migration = false | ||
|
|
||
|
|
||
|
|
||
| end | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.