T
T
TheBeJIIHiu2021-11-29 17:55:26
GitHub
TheBeJIIHiu, 2021-11-29 17:55:26

How to sync heroku files with github?

Like I have a bot for VK on Node.JS, it saves users to a u.json file, if I just reload the bot, all user data is erased, what should I do, is it possible somehow if the file changes in heroku and is synchronized with github?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Mirilaczvili, 2021-11-29
@2ord

The Heroku container filesystem is not designed to store files other than project files. Either external storage / DBMS is used (it can be in the form of add-ons) or another hosting is looked for.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question