I was trying to to deveop function with openruntime. And how to make it seamless for development mode?
I was trying to change example main.py, and nothing change with API.
Restart docker, or docker compose up with —build parameter nothing effect.
For now, the easiest thing to do is to deploy the updated code
Deployed to Appwrite?
Yes... technically you can use an open runtimes image to run a container but you'll have to build and then start as the docs describe
Honestly, it's best to just deploy to an Appwrite instance
What is the fastest way to deploy? CLI?
Possibly yes. I'd probably use the CLI
(appwrite deploy function)
Okayy, thank's @Steven . But in the future, is the team would make it easier for development instead of testing must deploy?
Probably
Recommended threads
- Python-ml-3.12
Hi, when this runtime will be available for the cloud. I could see the runtimes repo has this added to Runtimes.php but I'm not able to use it to run locally or...
- Function Building show 500 Error
Region: sfo Temple: Starter Function Runtime: Nodejs 22 What happened? Before 2 minutes it show ‘server error.","code":500,"version":"0.7.24"}’ after it show c...
- Function for long running task (other 60...
My function need long running other 60 seconds. But async mode return empty body. How to deal with that please ?