heroku

phpPgAdmin for Heroku database

安稳与你 提交于 2020-01-15 04:14:51
问题 When I create an app in Heroku and add a database (PostgreSQL) to it, is there a way to add a web interface for that database (such as phpPgAdmin)? 回答1: I'm no expert, but I think you can't have this functionality. Have a look at the monitoring section; in case you want to get some logs. Furthermore it's worth checking Heroku Postgres add-on section. There you can find details about different plans e.g. they include different features. However, there is a way to connect to Postgres database

What to do if “git push heroku master” failed?

喜欢而已 提交于 2020-01-15 03:51:05
问题 I have a working Rails app on my local Windows XP machine. I want to upload it on Heroku. I follow this tutorial https://devcenter.heroku.com/articles/rails3. When I ran git push heroku master , it failed: -----> Ruby/Rails app detected -----> WARNING: Removing `Gemfile.lock` because it was generated on Windows. Bundler will do a full resolve so native gems are handled properly. This may result in unexpected gem versions being used in your app. -----> Installing dependencies using Bundler

angularjs app web.js structure to deploy on heroku

为君一笑 提交于 2020-01-15 01:39:38
问题 I have been struggling with this deployment for weeks now, but no success. For my app to run locally, I run grunt serve and also node backend/app.js , however, I am trying to follow the way it was deployed here as an example. I also tried to follow the instructions here because my app was generated by yeoman. - How is it possible to run node web.js instead of node backend/app.js as you can see here that the app is linked to the web.js file. how to modify the and correct my web.js file? or any

SSH tunneling to a remote DB from Heroku?

风流意气都作罢 提交于 2020-01-14 14:25:07
问题 I'm thinking of deploying a small Rails app on Heroku. In an effort to save money, I'd like my app to use an external database (to which I have free access), rather than a Heroku-hosted database. The trouble is that the free database only accepts local connections. To access it from Heroku, I'd need to do so via an SSH tunnel. Is it possible for a Heroku app to persist its data in an external DB accessed via SSH? If so, how? (For bonus points, here's a second question: is this a good idea? On

Heroku local persistent storage

谁说我不能喝 提交于 2020-01-14 14:08:00
问题 I have created a node app with local persistent storage in a .json file. It works fine running locally, but when I deploy it to heroku the persistent storage is modified, but then erased. 回答1: Heroku does not provide any sort of persistent storage on dynos. If you need to persist files across sessions, you must use object storage such as Amazon S3. https://devcenter.heroku.com/articles/dynos#ephemeral-filesystem 来源: https://stackoverflow.com/questions/42775418/heroku-local-persistent-storage

Sentry with @sentry/webpack-plugin and heroku

三世轮回 提交于 2020-01-14 13:45:07
问题 I'm using webpack to build my app and it works locally with @sentry/webpack-plugin – it autogenerates the release and uploads the sourcemaps to Sentry. However, if I'm trying to build the same app on Heroku it gives me the following error: Error: Command failed: /tmp/build_e3ae44a78c063d6493d3fdfc983bd8d6/client/node_modules/@sentry/cli/sentry-cli releases propose-version INFO 2019-04-16 13:33:13.141611957 +00:00 Loaded config from /tmp/build_e3ae44a78c063d6493d3fdfc983bd8d6/client/

Sentry with @sentry/webpack-plugin and heroku

时光总嘲笑我的痴心妄想 提交于 2020-01-14 13:42:09
问题 I'm using webpack to build my app and it works locally with @sentry/webpack-plugin – it autogenerates the release and uploads the sourcemaps to Sentry. However, if I'm trying to build the same app on Heroku it gives me the following error: Error: Command failed: /tmp/build_e3ae44a78c063d6493d3fdfc983bd8d6/client/node_modules/@sentry/cli/sentry-cli releases propose-version INFO 2019-04-16 13:33:13.141611957 +00:00 Loaded config from /tmp/build_e3ae44a78c063d6493d3fdfc983bd8d6/client/

Sentry with @sentry/webpack-plugin and heroku

▼魔方 西西 提交于 2020-01-14 13:42:05
问题 I'm using webpack to build my app and it works locally with @sentry/webpack-plugin – it autogenerates the release and uploads the sourcemaps to Sentry. However, if I'm trying to build the same app on Heroku it gives me the following error: Error: Command failed: /tmp/build_e3ae44a78c063d6493d3fdfc983bd8d6/client/node_modules/@sentry/cli/sentry-cli releases propose-version INFO 2019-04-16 13:33:13.141611957 +00:00 Loaded config from /tmp/build_e3ae44a78c063d6493d3fdfc983bd8d6/client/

Static image assets in rails app not displaying on Heroku production

你离开我真会死。 提交于 2020-01-14 13:39:09
问题 I tried pre-compiling my images before deployment using the command: $ RAILS_ENV=production bin/rake assets:precompile I am using image_tag 's in my templates that work in development. Update: config.serve_static_files is said to default to true in dev, but then is turned off in production because the assets should be provided via your web server. I currently am just using the free tier on heroku and am still running webrick, so I have this set to true, but no luck. Update 2: When I set

Heroku CLI suddenly broken

纵然是瞬间 提交于 2020-01-14 12:58:09
问题 Suddenly, from one command to the next, the Heroic CLI stopped working. No matter what I type into the command line, I get the same error. See below. $heroku help ▸ commands is not a heroku command. ▸ Perhaps you meant domains ▸ Run heroku help for a list of available commands. ! error getting commands pid 24643 exit 127 What the heck is going on? 回答1: this problem just happened with me after the last update of heroku CLI, heroku CLI check if there is updates after execute any command related