I created a function (name, access rights, but no code) on the Web UI, now I want to pull it to my local development environment to start to code. How do I do that?
I don't think we can pull function(s) yet ( please correct me if I am wrong ). Also why do you want to pull the function? Assuming you've already deployed the function using your cloud console, you can directly use it in your project
Well, so that it initializes folder structure, etc. for me.
Not to mention that I want to update the local settings in the appwrite.json if someone updates stuff in the UI.
For example it deletes your execution rights to the function if that array is empty locally and you deploy. Which is quite the problem...
You can try setting up the function locally and then deploy it to cloud. Which is exactly what I did in one of my projects. No issues so far🤞
Make sure you update the Execute Access under your function settings on the cloud console.
Yeah, thats possible, but it means that the WebUI is to be avoided when working with Functions. Other than to view or execute them. I do not think that this is intended behaviour.
I think that is how I will do it until this problem is resolved.
Recommended threads
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...