heroku

Heroku GeoDjango issues with missing GDAL (and possibly GEOS)

谁说我不能喝 提交于 2021-01-27 10:29:11
问题 I'm working on a GeoDjango application and am using Heroku (with a Heroku-16 stack) as my platform. I am following the instructions found here, which specify the following: If your application requires geo libraries, experimental support for a handful of these libraries are available: GDAL v2.2.1 (v1.11.5 for cedar-14) Geos v3.6.2 (v3.4.2 for cedar-14) Proj v4.9.3 (v4.8.0 for cedar-14) To make these libraries available to your application, simply set the BUILD_WITH_GEO_LIBRARIES environment

Heroku GeoDjango issues with missing GDAL (and possibly GEOS)

只愿长相守 提交于 2021-01-27 10:28:40
问题 I'm working on a GeoDjango application and am using Heroku (with a Heroku-16 stack) as my platform. I am following the instructions found here, which specify the following: If your application requires geo libraries, experimental support for a handful of these libraries are available: GDAL v2.2.1 (v1.11.5 for cedar-14) Geos v3.6.2 (v3.4.2 for cedar-14) Proj v4.9.3 (v4.8.0 for cedar-14) To make these libraries available to your application, simply set the BUILD_WITH_GEO_LIBRARIES environment

Heroku GeoDjango issues with missing GDAL (and possibly GEOS)

家住魔仙堡 提交于 2021-01-27 10:26:56
问题 I'm working on a GeoDjango application and am using Heroku (with a Heroku-16 stack) as my platform. I am following the instructions found here, which specify the following: If your application requires geo libraries, experimental support for a handful of these libraries are available: GDAL v2.2.1 (v1.11.5 for cedar-14) Geos v3.6.2 (v3.4.2 for cedar-14) Proj v4.9.3 (v4.8.0 for cedar-14) To make these libraries available to your application, simply set the BUILD_WITH_GEO_LIBRARIES environment

how to use npm pdf image package in heroku app

╄→гoц情女王★ 提交于 2021-01-27 07:51:54
问题 I'm attempting to use the npm package pdf-image (https://www.npmjs.com/package/pdf-image) for an app that is deployed on heroku. It requires imagemagick ghostscript poppler- (ensure you have convert, gs, and pdfinfo (part of poppler) commands). I've attempted to add a imagemagick, ghostscript, and poppler buildpack to the app and then deploy. The app is working but times out (h12 heroku error) when it comes to the method that requires the pdf-image package. The method works locally without

restify JSON client returns DEPTH_ZERO_SELF_SIGNED_CERT error

半腔热情 提交于 2021-01-27 07:22:53
问题 I have server runing on heroku with heroku SSL addon. Server is created with this options: name: 'ServerName', version: '1.0.0', And the I run server like this: server.listen(process.env.PORT || 5000) And it works fine, I can call my api for example: https://myapp.herokuapp.com/some-path. SSL cert on heroku is self-signed so there is a big warning in webbrowser but I can click continue and it works. When I want to call my server with restify JSON client, created as follows: var client =

Nginx and Heroku. Serving Static Files

那年仲夏 提交于 2021-01-27 07:21:49
问题 Goal: Going to https://secret-sands-1568.herokuapp.com/myFile.html will display the content of client/myFile.html sent by Nginx. From what I understand, Heroku dynos are normally used for Nodejs/Ruby/other apps but they can be converted to anything by modifying the buildrack. I copied the content of https://github.com/theoephraim/nginx-buildpack. I added a folder named tmp with a file app-initialized . I added a folder named client with a file myFile.html . In config/nginx.conf.erb , I

Nginx and Heroku. Serving Static Files

允我心安 提交于 2021-01-27 07:20:18
问题 Goal: Going to https://secret-sands-1568.herokuapp.com/myFile.html will display the content of client/myFile.html sent by Nginx. From what I understand, Heroku dynos are normally used for Nodejs/Ruby/other apps but they can be converted to anything by modifying the buildrack. I copied the content of https://github.com/theoephraim/nginx-buildpack. I added a folder named tmp with a file app-initialized . I added a folder named client with a file myFile.html . In config/nginx.conf.erb , I

restify JSON client returns DEPTH_ZERO_SELF_SIGNED_CERT error

ぃ、小莉子 提交于 2021-01-27 07:17:53
问题 I have server runing on heroku with heroku SSL addon. Server is created with this options: name: 'ServerName', version: '1.0.0', And the I run server like this: server.listen(process.env.PORT || 5000) And it works fine, I can call my api for example: https://myapp.herokuapp.com/some-path. SSL cert on heroku is self-signed so there is a big warning in webbrowser but I can click continue and it works. When I want to call my server with restify JSON client, created as follows: var client =

Are cookies safe in a Heroku app on herokuapp.com?

你说的曾经没有我的故事 提交于 2021-01-27 06:27:30
问题 I am developing an app, which I will deploy on Heroku. The app is only used within an iframe on another site, so I don't care about the domain name. I plan to deploy my app on example.herokuapp.com instead of using a custom domain on example.com . My app uses cookies, and I want to be sure that others cannot manipulate my cookies to protect my app against session fixation and similar attacks. If attacker.herokuapp.com is able to set a cookie for herokuapp.com , browsers will not be able to

Why can't I connect to my localhost django dev server?

孤街醉人 提交于 2021-01-27 06:25:08
问题 I'm creating a django app and in the process of setting up my local test environment. I can successfully get manage.py runserver working but pointing my browser to any variation of http://127.0.0.1:8000/ , http://0.0.0.0:8000/ , or http://localhost:8000/ returns a "This site can’t be reached" error. Simultaneously, django will throw a 301 error: Starting development server at http://0.0.0.0:8000/ Quit the server with CONTROL-C. [11/Jul/2017 23:35:37] "GET / HTTP/1.1" 301 0 I've successfully