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
- Need help with createExecution function
Hi, Need some help understanding createExecution. When requesting function execution via createExecution, the function handler arguments are incorrect and rese...
- HTTP POST to function returning "No Appw...
Hi everyone, I’m running into an issue with my self-hosted Appwrite instance. I’ve set up my environment variables (APPWRITE_FUNCTION_PROJECT_ID, APPWRITE_FUNC...
- Can't add dart 3.5 runtime
Modified the `.env` to enable dart 3.5 runtime on my self-hosted instance but still can't find the runtime when creating a new function. I manually pulled the i...