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
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?
- Upgrading selfhost version?
It is okay to upgrade version to higher one, of my current version is 1.7.4 to 1.8.1. Is that safe to do cause my clients already have data on that? Also is a...
- Streamlit UI and local DB
I want to use Appwrite for automation, like run watchdog service every morning 3 am. Anyone got suggestions, already explored github and documentation no luck. ...