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
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...