karafra / ai-art

Discord bot generating images from given query
https://karafra.github.io/ai-art/
Apache License 2.0
75 stars 33 forks source link

Add guide for other config vars #13

Closed LuminarySage closed 1 year ago

LuminarySage commented 1 year ago

I'm mostly concerning these two that are required image

karafra commented 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)

LuminarySage commented 1 year ago

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

karafra commented 1 year ago

Oh, okay. I will add that in the next release.

Did you manage to get it set up or do you need help?

LuminarySage commented 1 year ago

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

LuminarySage commented 1 year ago

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

karafra commented 1 year ago

Oh okay

So for the AMQP:

For the MongoDb Small intro into mongodb:

If there are any inaccuracies or problems, come to my Demo discord server and I will help you as much as I can 🤗

LuminarySage commented 1 year ago

Thank you so much for the comprehensive guide. I'll set this up and get back to you if I had any question

LuminarySage commented 1 year ago

Is there a preferred way to configure this? I assume I'd need to get the IP after I started my heroku instance? image

karafra commented 1 year ago

No there is not, and please dont setup IP list as heroku rotates IPs once in 24 hours.

LuminarySage commented 1 year ago

So I should not set it up at all is what I'm hearing

LuminarySage commented 1 year ago

I got this error when I built and tried to run on heroku

image

LuminarySage commented 1 year ago

Maybe it's bc I haven't set this up properly? image

karafra commented 1 year ago

Okay ... i see. Dont want to del with this publically. Do you have discord? If so please write to me there

karafra commented 1 year ago

Closing as this was resolved over at discord. Will improve documentation next release :v: