heroku

Heroku performing collectstatic as expected on deployment?

坚强是说给别人听的谎言 提交于 2021-01-29 02:31:24
问题 I have Django setup to collect my static files and copy them into S3 using django-storages and this works like a charm when I explicitly run heroku run python manage.py collectstatic However, I expect Heroku to perform this action automatically upon deployment (i.e. git push to Heroku) as described in this documentation https://devcenter.heroku.com/articles/django-assets . Apparently, the output of: python manage.py collectstatic --dry-run --noinput determines whether or not collectstatic is

Don't have access to Heroku app

孤者浪人 提交于 2021-01-29 00:29:57
问题 I have a mystery app in Heroku. It's called weird-app-5536 When I try to push my code to Heroku I get this message: Your account my_email@geemail.com does not have access to weird-app-5536. ! ! SSH Key Fingerprint: ************************************************* fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. When I try... heroku apps I get a list of my apps, but it does not include the mystery app, weird-app-5536.

Don't have access to Heroku app

筅森魡賤 提交于 2021-01-29 00:29:05
问题 I have a mystery app in Heroku. It's called weird-app-5536 When I try to push my code to Heroku I get this message: Your account my_email@geemail.com does not have access to weird-app-5536. ! ! SSH Key Fingerprint: ************************************************* fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. When I try... heroku apps I get a list of my apps, but it does not include the mystery app, weird-app-5536.

Download sqlite database from Heroku

吃可爱长大的小学妹 提交于 2021-01-28 23:51:19
问题 I have a worker running python script every 2 hour on Heroku. The problem is each time I 'pull' the changes from git. There is no changes at all for the sqlite3 database. But I am sure the program is running and the database has changed by looking at the log file. heroku log How to retrieve the .db file then ? 回答1: It sounds like you have a little misconception. Heroku's git support is effectively one-way; you can use it to push new code to be run on the server, but you can't use it to copy

Download sqlite database from Heroku

◇◆丶佛笑我妖孽 提交于 2021-01-28 23:36:47
问题 I have a worker running python script every 2 hour on Heroku. The problem is each time I 'pull' the changes from git. There is no changes at all for the sqlite3 database. But I am sure the program is running and the database has changed by looking at the log file. heroku log How to retrieve the .db file then ? 回答1: It sounds like you have a little misconception. Heroku's git support is effectively one-way; you can use it to push new code to be run on the server, but you can't use it to copy

My bundler command is failing to load in my Sinatra app deployed in Heroku and thus causes it to crash

 ̄綄美尐妖づ 提交于 2021-01-28 22:20:09
问题 I am trying to successfully deploy an extremely rudimentary Sinatra app to Heroku. I am able to run this app locally. The ruby code itself is incredibly simple: require 'sinatra' get '/' do 'Hello World!' end I added a proper Gemfile: source 'https://rubygems.org' gem 'sinatra' gem 'rack' As well as a configuration file: require './hello_app' run SinatraApp This code builds successfully on Heroku: -----> Ruby app detected -----> Installing bundler 2.1.4 -----> Removing BUNDLED WITH version in

API routes on react + express app giving 404 on Heroku

非 Y 不嫁゛ 提交于 2021-01-28 21:06:07
问题 So I built a simple mern app that works fine on my local environment, but when deploying to Heroku, it serves the react app fine but 404s on the API calls. I can't seems to figure out the issue. I'm sending requests using Axios. I checked the network requests and they all look good, but still come back 404. testing in postman also returned the same error. Here's the server code... Any idea why this is failing? const express = require('express'); const path = require('path'); const Axios =

API routes on react + express app giving 404 on Heroku

点点圈 提交于 2021-01-28 20:32:39
问题 So I built a simple mern app that works fine on my local environment, but when deploying to Heroku, it serves the react app fine but 404s on the API calls. I can't seems to figure out the issue. I'm sending requests using Axios. I checked the network requests and they all look good, but still come back 404. testing in postman also returned the same error. Here's the server code... Any idea why this is failing? const express = require('express'); const path = require('path'); const Axios =

Gradle java web app doesn't start on heroku

二次信任 提交于 2021-01-28 20:15:24
问题 When I deploy my app locally with heroku local It starts up, but when I'm pushing it to remote, heroku toolbelt doesn't show any error, but here is what I get from logs: 2016-05-15T16:00:13.504799+00:00 heroku[slug-compiler]: Slug compilation started 2016-05-15T16:00:13.504808+00:00 heroku[slug-compiler]: Slug compilation finished 2016-05-15T16:00:19.131289+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=damp-ocean-4271.herokuapp.com request_id

Python 3.7.0 Heroku buildpack issue

我是研究僧i 提交于 2021-01-28 19:51:59
问题 I've read some people with the same issue, but nothing suggested has worked. I'm trying to deploy a silly project to Heroku but nothing is working. Below this lines you can see the message: Writing objects: 100% (100/100), 55.42 MiB | 625.00 KiB/s, done. Total 100 (delta 19), reused 4 (delta 0) remote: Compressing source files... done. remote: Building source: Counting objects: 100, done. Delta compression using up to 4 threads. Compressing objects: 100% (94/94), done. Writing objects: 100%