heroku

Heroku “content not from webpack is served from /app/public” despite using all default create-react-app config

无人久伴 提交于 2020-08-27 22:15:28
问题 I'm deploying a pretty basic front-end only React app (essentially a static site) to Heroku via an auto-deploy integration with Github. I've done this before with a more complicated app and had no issues. But now I'm getting the following output in my logs when I deploy: 2020-05-02T11:18:53.190530+00:00 app[web.1]: [34mℹ[39m [90m「wds」[39m: webpack output is served from 2020-05-02T11:18:53.190635+00:00 app[web.1]: [34mℹ[39m [90m「wds」[39m: Content not from webpack is served from /app/public

Heroku Error: ENOENT: no such file or directory, open '.env'

我是研究僧i 提交于 2020-08-26 07:38:21
问题 I'm trying to push my application to Heroku, but I'm running into some issues: Error: ENOENT: no such file or directory, open '.env' 2019-04-10T01:38:23.050188+00:00 app[web.1]: 1 at Object.openSync (fs.js:438:3) 2019-04-10T01:38:23.050190+00:00 app[web.1]: 1 at Object.readFileSync (fs.js:343:35) 2019-04-10T01:38:23.050192+00:00 app[web.1]: 1 at Object. (/app/config/database.js:4:39) It seems that the error is the variable envConfig , but i need it for database to work. As of now, I'm getting

Heroku Error: ENOENT: no such file or directory, open '.env'

≯℡__Kan透↙ 提交于 2020-08-26 07:37:35
问题 I'm trying to push my application to Heroku, but I'm running into some issues: Error: ENOENT: no such file or directory, open '.env' 2019-04-10T01:38:23.050188+00:00 app[web.1]: 1 at Object.openSync (fs.js:438:3) 2019-04-10T01:38:23.050190+00:00 app[web.1]: 1 at Object.readFileSync (fs.js:343:35) 2019-04-10T01:38:23.050192+00:00 app[web.1]: 1 at Object. (/app/config/database.js:4:39) It seems that the error is the variable envConfig , but i need it for database to work. As of now, I'm getting

Deploy to heroku (gulp not found error)

蓝咒 提交于 2020-08-24 09:51:23
问题 I've cloned the meanjs repo and deployed to heroku but application won't run and shows the following error: Application error An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. Checking the logs, it says: 17-04-18T03:16:50.720375+00:00 app[web.1]: 2017-04-18T03:16:50.730925+00:00 app[web.1]: sh: 1: gulp: not found 2017-04-18T03:16:50.742737+00:00 app[web.1]: npm ERR! file sh 2017-04-18T03:16:50.743150+00:00

Are Heroku's environmental variables a secure way to store sensitive data?

假如想象 提交于 2020-08-24 07:52:06
问题 I use Heroku to deploy a Rails app. I store sensitive data such as API keys and passwords in Heroku's environment variables, and then use the data in rake tasks that utilize various APIs. I am just wondering how secure Heroku's environmental variables are? Is there a way to hash these variables while retaining the ability to use them in the background somehow? I came across a previous thread here: Is it secure to store passwords as environment variables (rather than as plain text) in config

How do I access the current Heroku release version programmatically?

吃可爱长大的小学妹 提交于 2020-08-22 08:09:32
问题 Is this even possible - is there something like a RELEASE_VERSION environment variable? 回答1: There is now a released Heroku Labs feature called Dyno Metadata that gives you this information. Once you enable it, your running dyno's environment will contain environment variables with the Heroku version ID of your app, the git commit hash from which your release slug was built, and much more. For example: HEROKU_APP_ID: 9daa2797-e49b-4624-932f-ec3f9688e3da HEROKU_APP_NAME: example-app HEROKU

Is it possible to deploy Django with Sqlite?

大兔子大兔子 提交于 2020-08-20 12:16:29
问题 I've built a Django app that uses sqlite (the default database), but I can't find anywhere that allows deployment with sqlite. Heroku only works with postgresql, and I've spent two days trying to switch databases and can't figure it out, so I want to just deploy with sqlite. (This is just a small application.) A few questions: Is there anywhere I can deploy with sqlite? If so, where/how? 回答1: SQLite is a database on the disk, it is very useful for development purposes, however services like