I'm having trouble trying to enter heroku with my account. Salesforce won't recognize my built-in authenticator. There is no way to recover it and I need to be able to use my account again. Please, if anyone can help me with this, I will be really thankful.
Related
I have question about Shopify app development and the deployment process.
I've used the getting started guide here, and I have an app that works fine when I use npm run dev and view the app in the store admin.
However, of course, once I stop the server from running, the app is no longer accessible.
I believe I need to deploy the app to Heroku (or something similar) in order to have it work in a non-development environment.
It doesn't seem like there is much guidance online from Shopify about the best way to go about this.
Does anyone know what steps I need to take in order to deploy my app to Heroku, so that I can use the app in by test store on another device?
It seems like every guide online stops JUST BEFORE explaining this process and I can't figure out why! I have tried everything online but nothing has worked:
Adding the code to Github and connecting it to Heroku
Using Docker
Any help is appreciated. Thank you!
You have zero obligations to use Heroku. If you have an IP address dedicated to your house, you could host the App using your house. If you co-locate your own server at an Internet business, and they give you IP addresses you can use that. If you wanted to use Amazon directly, you could use EC2. If you wanted to use Linode, or Azure, or any other cloud service, feel free! It is up to you!
Using Heroku (built on AWS) is traditional only in the sense that it is the original easy peasy hosting in the cloud service. Play with Heroku by reading Heroku-specific documentation or hosting information. This has nothing to do with Shopify. Shopify only mentions Heroku because traditionally, developers used it. No other reason.
If you want to learn how to use Heroku, 100% there are blog posts within easy reach for you to study and learn from.
So... I use quick.db for my Discord bot's Economy System. It's all perfectly set up however every time I deploy an another update for my Discord bot from Github, the db does not save, and everyone's stats across everyone's server reset back to 0, why is this? Someone told me that it's because Heroku doesn't save "persistent" data, but I have hopes for a solution. Please let me know if there is any way to resolve this, and what the problem is, many thanks in advance.
That's because Heroku Dyno Storage is "Ephemeral" which means that every day the db will be reset because it is taken again from your github or from where it's deploying
I'm following the instructions in the Heroku Postgres docs for creating an external application that connects to Heroku Postgres for its data layer. The instructions mention that the credentials are automatically rotated and I must handle this myself.
I read more docs to learn about webhooks existing to help notify the rest of your system that changes have happened in your Heroku services. This made sense to me to be an area where the Heroku devs would have implemented this. There must be a webhook that exists that I could use to be notified when the credential rotation happens. I found that there was the api:addon webhook which had the update event. I tested this webhook, expecting this to be what I was looking for, but I found that it was not fired upon credential rotation. It was only fired when I provisioned or deleted more Heroku Postgres add-ons.
Since the webhook I need doesn't exist, I coded a workaround where I expect a PostgreSQL library auth error to be thrown while my AWS Lambda executes. If an error is thrown, I assume it's from the rotation and I have the still running Lambda function fetch new credentials using the Heroku API and try the PostgreSQL query again, at which point it works unless there are other errors. I tested this while manually rotating my credentials and it worked okay, but it's kind of ugly code. See here for a detailed example.
So at this point, I'm wondering if the webhook I'm looking for does exist and I just wasn't able to find it. Or, if it doesn't exist, I would like to request it as a new feature. I understand that the Heroku team may not want people picking their add-ons a la carte, and they want people to use the entire Heroku platform, but I think it would add a lot of value to the Heroku platform. Personally, I've enjoyed getting into more and more cloud services as I learn since I'm usually able to choose them a la carte. For example, AWS doesn't forbid me from only using S3 and nothing else from them. They do as much as they can to make it easy for me to link my applications to it, no matter what other cloud services I use.
I contacted Heroku directly to ask if this type of webhook existed and I received a useful response from them:
There isn't a webhook specifically for credential rotations, although
with a bit of logic you can sort of recreate the same thing. Whenever
you Postgres credentials rotate, it will trigger a new release, which
does trigger a webhook. You can use that to inspect the release via
the API to determine if the values changed.
I am getting the run around on the net and would like to know if anyone has found a great walk through for deploying a Laravel API to Azure?
This might not answer directly your question and you may not be using/paying for forge...
But, if you use Laravel Forge. you can follow this set up and forge will do most of the deployment for you. Most of it...
https://medium.com/#piesse/laravel-forge-on-azure-d429a6cba6d4
if you never used forge, i would certainly recommend to pay at least the first month just to see what it is and to make your deployment easier. i hope this is not seen as spam, since im not trying to sell a product, im recommending a way for your deployment to be done.
I can see an alert on the heroku postgres console, see attached image.
It's not clear to me if I have to take some action to enable this maintenance or if this is something heroku will take care of. And it isn't clear neither where to look for help on this topic.
Do I have to worry about something?
You should have received an e-mail with more details (to the address associated with your account). We've added a FAQ with some clarifications. If you still have more questions, feel free to reach out to us via help.heroku.com.
Thanks,
Maciek
Heroku Postgres