azmtbr / rescue-site

A template to be generally used for animal rescue
Apache License 2.0
0 stars 0 forks source link

Running the app on Heroku #28

Open azmtbr opened 8 years ago

azmtbr commented 8 years ago

@matstc

-Just an update

You were right about pushing to heroku more often. I've had to rebase since the last time I did and now heroku is missing some files, or they're empty. I've tried a few things including destroying the app, creating it again and pushing again. Didn't work. Still missing the same files. At least now it's not spelled wrong! Staying positive.

I'm sure I'll figure it out. Any ideas though?

matstc commented 8 years ago

It's hard to say just like that. You'll have to make sure the files built by grunt when you do grunt build are actually in git. Can you add me as a collaborator on your Heroku app? You can go to heroku.com, click on your app ⤑ Access ⤑ Add Collaborator and put it my email (matthieutc @ gmail com).

azmtbr commented 8 years ago

@matstc

Ok, the good news is that, thanks to your help, Everything is running on heroku. The bad news is that the same bugs are still there from development. They don't magically fix themselves?

On my list now is straightening out the landing page, and for some reason, the images don't persist on heroku for very long. It's very strange and I'm digging into it.

Current Issues: -landing page -paperclip images are http not https -uploaded images not persisting for more than an hour or so.

matstc commented 8 years ago

About the images uploaded not persisting, that's normal: heroku doesn't let you write files to disk. You'll have to use the database to store images or better: an S3 bucket. The paperclip Readme had more info on configuring uploads to go to an S3 bucket.

Jon Malis notifications@github.com schrieb am Mi., 6. Apr. 2016 05:12:

@matstc https://github.com/matstc

Ok, the good news is that, thanks to your help, Everything is running on heroku. The bad news is that the same bugs are still there from development. They don't magically fix themselves?

On my list now is straightening out the landing page, and for some reason, the images don't persist on heroku for very long. It's very strange and I'm digging into it.

Current Issues: -landing page -paperclip images are http not https -uploaded images not persisting for more than an hour or so.

— You are receiving this because you were mentioned.

Reply to this email directly or view it on GitHub https://github.com/azmtbr/rescue-site/issues/28#issuecomment-206096427