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
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