CHAOS icon indicating copy to clipboard operation
CHAOS copied to clipboard

[question] Heroku data

Open Ran-Xing opened this issue 3 years ago • 5 comments

How does heroku persist data?

Ran-Xing avatar Jun 28 '22 17:06 Ran-Xing

Heroku Postgres? Maybe read parameters from environment variables, if not empty, connect to postgress

Ran-Xing avatar Jun 28 '22 17:06 Ran-Xing

and I found that the client side keeps disconnecting

Ran-Xing avatar Jun 28 '22 20:06 Ran-Xing

https://github.com/yudai/gotty LGTM

Ran-Xing avatar Jun 28 '22 21:06 Ran-Xing

Hello @Ran-Xing,

CHAOS at the moment persist the data on a local sqlite database. So the local instance on heroku keep the data. I understand that it is a problem if the instance dies and the database is lost.

I will consider it an improvement to optionally connect to a postgres database if some environment variable is provided. That way the data will be saved.

Thanks for your feedback, as soon as I implement it I'll let you know.

tiagorlampert avatar Jul 16 '22 13:07 tiagorlampert

@tiagorlampert Do you have exclusive chat software, such as slack, telegram, I want to get involved in your project, but it may take me a while to understand your code

Ran-Xing avatar Aug 04 '22 04:08 Ran-Xing

@tiagorlampert

Ran-Xing avatar Oct 03 '22 07:10 Ran-Xing

Hi @Ran-Xing,

The latest version support postgres database. You only need to specify some environment variables.

On the readme has the required environment variables to use: https://github.com/tiagorlampert/CHAOS#quick-start

tiagorlampert avatar Oct 06 '22 03:10 tiagorlampert

@tiagorlampert Do you have exclusive chat software, such as slack, telegram, I want to get involved in your project, but it may take me a while to understand your code

Yes, I have. Could you contact me on my public email: [email protected]

tiagorlampert avatar Oct 06 '22 03:10 tiagorlampert