shoud i give the localhost path or what ??
What does your code look like and what are you trying to achieve?
Also, you need to create a deployment
Please follow this: https://appwrite.io/docs/products/functions
appwrite login
appwrite init project
appwrite init function
appwrite deploy function
alraedy i have run all these commands
You would only need a path if within the function you are handling those paths. If your logic is just in the root, no path is required.
Yeah but there's also no deployment
so the execute will do nothing
should i coonect with sdk from cli
Sure :P But that wasn't the question teehee
haha
Honestly, make a git repo and connect it, it's the best way and it auto-builds on each commit
personal opinion*
ok i will try it ,but after running all these commands what other things i need to do for execution the function
That realistically should be all you need, appwrite deploy function should deploy the function to cloud and trigger a build.
If you connect it via git, just go to the function url, it auto-executes or use the path /, but that depends on your code, looking at yours it seems you don't have any paths, so / is fine
ok
Recommended threads
- Project is currently blocked
When accessing the Appwrite console, I receive the message: "Project is currently blocked. Access to this project is restricted. Contact support if the issue pe...
- {"code": 1008, "message": "Invalid Origi...
Nothing has changed in my application or console settings so I'm curious as to what I need to do to fix this. I already have the client registered so I'm not en...
- SSL certificate issuance failed:
Domain verifies but SSL cert fails, tried different subdomains like .api and .aw, used cname and CAA, no prior CAA existed on website, tried Multiple CAAs at on...