heroku

Docker: /bin/sh: 1: /tmp/provision.sh: not found

纵然是瞬间 提交于 2020-01-16 18:58:19
问题 I'm trying to deploy the latest scrapinghub/splash I am using git-bash on win10. I forked the repo to https://github.com/kc1/splash/blob/master and I have been trying to follow Using docker, scrapy splash on Heroku to modify the docker file to https://github.com/kc1/splash/blob/master/Dockerfile but when I run: $ heroku container:push web --app splash1 === Building web (E:\ENVS\r3\splash1\Dockerfile) Sending build context to Docker daemon 5.333MB Step 1/11 : FROM ubuntu:16.04 --->

Docker: /bin/sh: 1: /tmp/provision.sh: not found

邮差的信 提交于 2020-01-16 18:57:48
问题 I'm trying to deploy the latest scrapinghub/splash I am using git-bash on win10. I forked the repo to https://github.com/kc1/splash/blob/master and I have been trying to follow Using docker, scrapy splash on Heroku to modify the docker file to https://github.com/kc1/splash/blob/master/Dockerfile but when I run: $ heroku container:push web --app splash1 === Building web (E:\ENVS\r3\splash1\Dockerfile) Sending build context to Docker daemon 5.333MB Step 1/11 : FROM ubuntu:16.04 --->

AWS Elastic Beanstalk invalid binary packages

陌路散爱 提交于 2020-01-16 18:06:08
问题 I am working on migrating a project from Heroku to AWS. I keep getting an error after deployment saying: 'invalid ELF header'. I have found posts with similar issues when using AWS Lambda, but I do not understand why I would have an issue with binary packages in Elastic Beanstalk. Doesn't Elastic Beanstalk provide a configured environment to run my code similar to Docker? I feel like this problem must be more complex as I cannot find anyone else with this issue in Elastic Beanstalk. Here is

Custom fonts in rails 5 app and Heroku

删除回忆录丶 提交于 2020-01-16 16:26:21
问题 can you please instruct me on how to add custom fonts to my rails 5 application? i've added my custom fonts files to fonts folder in app/assets. i went on to use the @fontface and font-url in .scss , but my fonts wont take effect after before and[enter image description here pushing to heroku. enter image description here 回答1: I suggest you go modify your application.html and add the fonts there. I don't know what you are trying to do but adding a simple <link href="fonts.googleapis.com/css

Custom fonts in rails 5 app and Heroku

醉酒当歌 提交于 2020-01-16 16:26:00
问题 can you please instruct me on how to add custom fonts to my rails 5 application? i've added my custom fonts files to fonts folder in app/assets. i went on to use the @fontface and font-url in .scss , but my fonts wont take effect after before and[enter image description here pushing to heroku. enter image description here 回答1: I suggest you go modify your application.html and add the fonts there. I don't know what you are trying to do but adding a simple <link href="fonts.googleapis.com/css

Install python modules in heroku while using python-shell not working

可紊 提交于 2020-01-16 14:28:09
问题 I'm trying to import a python file into node web application. On my local machine it works fine, but when I upload it to heroku, the modules don't get imported correctly, and I get an error message saying, ModuleNotFoundError: No module named 'tensorflow' . I'm assuming that the modules are not installed. So I made a requirements.txt file, and imported in python like this: import subprocess import sys subprocess.call([sys.executable, "-r", "pip3", "install", 'requirements.txt']) I still get

Heroku Production Error: PG::Error: ERROR: relation “users” already exists error

老子叫甜甜 提交于 2020-01-16 12:07:37
问题 Is deploying to Heroku typically like pulling teeth? I've been trying for a week now and it's error after error. I've contacted Heroku support and they suggested I try stackoverflow. So here it goes. I've just upgraded my Devise to 2.0 schema following the guide: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.0-migration-schema-style . See the codebase here: www.github.com/apane/blogit_blog I now have the following error (this should be the last of em') -- create

Heroku Production Error: PG::Error: ERROR: relation “users” already exists error

痴心易碎 提交于 2020-01-16 12:06:05
问题 Is deploying to Heroku typically like pulling teeth? I've been trying for a week now and it's error after error. I've contacted Heroku support and they suggested I try stackoverflow. So here it goes. I've just upgraded my Devise to 2.0 schema following the guide: https://github.com/plataformatec/devise/wiki/How-To:-Upgrade-to-Devise-2.0-migration-schema-style . See the codebase here: www.github.com/apane/blogit_blog I now have the following error (this should be the last of em') -- create

How to stop Heroku from trying to start script with `npm start`?

孤者浪人 提交于 2020-01-16 12:00:07
问题 I am building a server-based application that runs a series of automated scripts (i.e., "bots") in the cloud. I have provisioned an instance of Heroku Scheduler to automatically run one of those scripts as shown in the below Fig. 1. Fig. 1. Screen capture of Heroku Scheduler dashboard As you can see from Fig. 1., the scheduler is supposed to run the following command node src/spiders/clusters/auctionMacro.js every ten minutes. Which appears to be happening as expected as shown below in Fig 2.

Heroku - ActionView::Template::Error (PG::Error: ERROR: column category_products.desc does not exist

梦想与她 提交于 2020-01-16 10:32:30
问题 I am using RailsAdmin and this is the error I get when I click on my model CategoryProduct within RailsAdmin. This is what the error looks like: Started GET "/admin/category_product" for 67.230.41.62 at 2012-12-21 23:20:07 +0000 2012-12-21T23:20:07+00:00 app[web.1]: 2012-12-21T23:20:07+00:00 app[web.1]: ActionView::Template::Error (PG::Error: ERROR: column category_products.desc does not exist 2012-12-21T23:20:07+00:00 app[web.1]: LINE 1: ...ry_products".* FROM "category_products" ORDER BY