Heroku File Storage

I would recommend you to check heroku add-on solution which is https://addons.heroku.com/cloudinary. You will get 500MB for free and easy heroku integration. For RoR app you can check: https://devcenter.heroku.com/articles/cloudinary#using-with-ruby-on-rails There is also documentation for Nodejs and Django.

Force my heroku app to use SSL (https)

On Heroku, it’s slightly tricky to determine the fact that the request came in over http. https is handled at a heroku routing layer and it passes along the request to the node app on http). This post got me unstuck http://jaketrent.com/post/https-redirect-node-heroku/

Heroku Database Connection Properties

I also had the issue with the FATAL: no pg_hba.conf entry for host error message. I solved the connection issue to my Heroku Postgres database by adding the following to my JDBC string: &ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory. Example jdbc:postgresql://host:port/database?user=username&password=secret&ssl=true&sslfactory=org.postgresql.ssl.NonValidatingFactory You will need the SSL option only if SSL is enabled for your Postgres database (which is the default). … Read more

How can I make Heroku install devDependencies?

UPDATE: as pointed out in the comments this is no more needed because since 2018 heroku changed its default behaviour and dev dependencies are automatically installed ORIGINAL ANSWER Heroku by default installs only the production dependencies, ignoring the development dependencies under devDependencies. Setting the npm production variable to false do the trick: heroku config:set NPM_CONFIG_PRODUCTION=false … Read more

How to wipe Heroku Redis?

You can do this with redis-cli. RedisToGo gives you a url in the form: redis://redistogo:d20739cffb0c0a6fff719acc2728c236@catfish.redistogo.com:9402 So this command will empty your db: redis-cli -h catfish.redistogo.com -p 9402 -a d20739cffb0c0a6fff719acc2728c236 flushall

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)