AllYourBot / hostedgpt

An open version of ChatGPT you can host anywhere or run locally.
MIT License
344 stars 165 forks source link

Add instructions in README for customizing database name, password, username with ENV #454

Open krschacht opened 2 months ago

krschacht commented 2 months ago

Ah, yes, all rails apps support the DATABASE_URL env, both for development and production. The production configs (render, fly, heroku) already set this. But this should definitely be in the README! The format for this variable should be postgres://username:password@localhost/hostedgpt_development

Also explain that you can customize just the DB with HOSTEDGPT_DEV_DB

Originally posted by @krschacht in https://github.com/AllYourBot/hostedgpt/discussions/453#discussioncomment-9999852

draknor commented 1 month ago

Hmmm - how do I link this issue to the PR I opened #456 ? Sorry - still learning the Github workflows!

krschacht commented 1 month ago

@draknor In the PR description you can mention an issue, e.g, "Fixes #454" and then it links them up.