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
- Error can not create `tablesdb` event wi...
When i'm trying to add an event with `tablesdb` i get an error message My event value: `tablesdb.mtg-decklist-dev.tables.queue_parsing.rows.*.create` Same err...
- GitHub Student Login Loop Issue
signed up using my GitHub Student Developer Pack. However, whenever I click "Sign in with GitHub", I get stuck on the login page. No matter how many times I try...
- Google OAuth Not Working on Brave/Firefo...
I'm having an issue with Google OAuth in my React + Appwrite app. After login, the dashboard is accessible only in Microsoft Edge, but fails in Brave and Firefo...