-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed .gitignore to remove dropbox env conflicts
- Loading branch information
Showing
10 changed files
with
96 additions
and
37 deletions.
There are no files selected for viewing
This file contains 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 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 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,6 +1,6 @@ | ||
# One Month Rails | ||
# Based on One Month Rails Tutorial | ||
|
||
This is the sample application for | ||
[*One Month Rails: Teach Yourself to Code*](http://onemonthrails.com) | ||
This is modified to use paperclip and jQuery continuous scroll | ||
|
||
by [Mattan Griffel](http://mattangriffel.com) | ||
|
||
by [Neil Gehani](http://gehani.me) |
This file contains 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 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,15 @@ | ||
#Dropbox credentials - view them via heroku config on cmd line | ||
#development: | ||
# app_key: <%= ENV["APP_KEY"] %> | ||
# app_secret: <%= ENV["APP_SECRET"] %> | ||
# access_token: <%= ENV["ACCESS_TOKEN"] %> | ||
# access_token_secret: <%= ENV["ACCESS_TOKEN_SECRET"] %> | ||
# user_id: <%= ENV["USER_ID"] %> | ||
# access_type: "app_folder" | ||
development: | ||
app_key: ENV['APP_KEY'] | ||
app_secret: ENV['APP_SECRET'] | ||
access_token: ENV['ACCESS_TOKEN'] | ||
access_token_secret: ENV['ACCESS_TOKEN_SECRET'] | ||
user_id: ENV['USER_ID'] | ||
access_type: 'app_folder' |
This file contains 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 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 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,5 +1,6 @@ | ||
# config/initializers/paperclip.rb | ||
unless Rails.env.development? | ||
#Paperclip::Attachment.default_options[:url] = ':event_sample_images.s3-website-us-east-1.amazonaws.com' | ||
Paperclip::Attachment.default_options[:url] = ':event_sample_images.s3-website-us-east-1.amazonaws.com' | ||
Paperclip::Attachment.default_options[:path] = '/:class/:attachment/:id_partition/:style/:filename' | ||
end |
This file contains 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 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