I need help with my deployment!

Hi! I have a problem with my repl…

I have a code:

proyect
|
|
|—-templates
| |
| |—-index.html
|
|
|—-static
| |
| |——script.js
| |
| |——style.css
| |
| |—-webhook.json
| |
| |—-generated
|
|
|—-main.py

Its a simple webapp, but when I deploy it, it stops and falls asleed so quick.

How can I do to have it always on as was possible 1 month ago… (I have a paid plan)

Every bit of help is appreciated🤝

You’ll need to use a Reserved VM for that, Autoscale Repls go to sleep when not in use.

1 Like

But even with that, i need to receive webhooks constantly (with costumer info) and with the deplyment the web might run but the internal repl does not receive info… idk its deployed buy not running at the same time i guess

1 Like

Do you mean you want to be able to update the data in a deployed repl? They don’t currently support persistent filesystems (although I think Replit is working on that). In the meantime you need to use databases such as ReplDB or sql.

1 Like

Doesn’t work with deployments (at least not in Python).

1 Like