Closed LuminarySage closed 1 year ago
Hey
What guide would you like for these vars (I know this sounds stupid, but I would like your to hear your input in this matter)
Just how to get them/set them up because they're required and I have no idea what they are for and I don't even know what AMQP is
Oh, okay. I will add that in the next release.
Did you manage to get it set up or do you need help?
I got through the discord bot/app set up and tried to deploy to Heroku with the bot token but is still missing those two required values mentioned above that I don't know how to obtain
Also I just noticed that you don't need to configure those when you deploy via docker. How come?
Only required variables is TOKEN, this can be set as environment variables using export ENV_NAME=VALUE on linux based OS or $env:VARIABLE_NAME=VALUE on Windows based OS
Oh okay
So for the AMQP:
small intro into what it is why I bot needs it
As for filling this environment varble on heroku I strongly advise for usage of Cloud AMQP which is largest AMQP provider and has excellent uptime. You can log into it with github. Once your account is created, you need to create new amqp instance (free plan will completely suffice) by clicking on this button. Then go to instance you created and copy field
URL
under section AMQP Details . . Dont worry, this is not the production queue and its details. This is the value you need to insert into required variable named
AMQP_URL
For the MongoDb Small intro into mongodb:
MONGO_URL
variable. I will be honest with you, I am on my phone and I am not sure if this variable just pops up. If it doesn't please copy you login credentials and URL on which cluster is hosted. Resulting URI will be I format mongodb://{userName}:{password}@{host}:27017
If there are any inaccuracies or problems, come to my Demo discord server and I will help you as much as I can 🤗
Thank you so much for the comprehensive guide. I'll set this up and get back to you if I had any question
Is there a preferred way to configure this? I assume I'd need to get the IP after I started my heroku instance?
No there is not, and please dont setup IP list as heroku rotates IPs once in 24 hours.
So I should not set it up at all is what I'm hearing
I got this error when I built and tried to run on heroku
Maybe it's bc I haven't set this up properly?
Okay ... i see. Dont want to del with this publically. Do you have discord? If so please write to me there
Closing as this was resolved over at discord. Will improve documentation next release :v:
I'm mostly concerning these two that are required![image](https://user-images.githubusercontent.com/24306400/182937874-316dad94-b566-4fbd-90bc-ff7ee3ee70b4.png)