Skip to content
This repository has been archived by the owner on May 12, 2020. It is now read-only.

Rebranding App #49

Open
JustK2 opened this issue Apr 17, 2017 · 7 comments
Open

Rebranding App #49

JustK2 opened this issue Apr 17, 2017 · 7 comments

Comments

@JustK2
Copy link

JustK2 commented Apr 17, 2017

This is probably a super basic question - but I am having some trouble rebranding the app (changing the Stories image and placeholder text even...I am sure that there is some dependencies that I am missing. This is my first ruby/heroku app...can anyone provide guidance. I would be so grateful. Help. :)

@AjayBarot
Copy link
Contributor

@JustK2 : Let me know where you stuck. may be I can help you. Please follow this steps to upload basic rails application on heroku. https://devcenter.heroku.com/articles/getting-started-with-rails4

@JustK2
Copy link
Author

JustK2 commented Apr 17, 2017

Thank you @AjayBarot! The app is up and running here: https://still-cliffs-31192.herokuapp.com/ all I am trying to do now is swap out the "Stories" branding so the images and the placeholder texts. And nothing I do seems to change the placeholder text (even though it's changed in the html, css, js files) or the image ( I did manage to break the image though, haha). Any insights would be amazing! Thank you for the reply!
screen shot 2017-04-17 at 11 12 32 am

@AjayBarot
Copy link
Contributor

AjayBarot commented Apr 17, 2017

@JustK2 : 1 Point: Stories is a logo image file stories-logo.svg. Basically heroku will not allow to save files\attachments locally on the server. You can save to the tmp folder, BUT it is not guaranteed to stay there. In order to upload files you should use some external storage like Amazon S3 for example.

Ref: http://stackoverflow.com/questions/24642967/can-i-host-images-in-heroku-or-do-i-need-s3

2: You can find "Search Stories" placeholder code at stories/app/assets/javascripts/components/search_bar.es6.jsx:18 (line no 18) you can change this placeholder.

@JustK2
Copy link
Author

JustK2 commented Apr 17, 2017

Ahhh, ok. I was wondering why you need AWS. That's great info thank you!

@JustK2
Copy link
Author

JustK2 commented Apr 18, 2017

Hey @AjayBarot - thanks again for the info - I had a chance to review it more thoroughly and need a quick clarification on the link that you provided: http://stackoverflow.com/questions/24642967/can-i-host-images-in-heroku-or-do-i-need-s3 it seems like you can use the assets pipeline in Rails...which is what I was trying. These are just the brand logos, they'll never change. Is the AWS S3 bucket still necessary? It doesn't seem so. If not, any ideas on why the assets pipeline is not working as expected? Thanks again!

@anthonybrown
Copy link

Shouldn't you use S3 for storage? I thought it was a no-no to store images in Heroku?

@JustK2
Copy link
Author

JustK2 commented Jun 3, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants