Hey -- trying to include JSON files in my function path, it bundles them with it (basd on the size) but trying to actually reference them is near impossible. ./myjsonfiles_directory
doesn't work, neither does path.resolve nor path.dirname() lmao, what should I be using here?
Python?
JavaScript actually, Node or Bun both
I ended up importing the files directly via import some file from “some file.json” { assert type: string }
ya that's probably the best way to go
otherwise, you can do some path magic stuff like how some of our templates looks up a static folder: https://github.com/appwrite/templates/blob/d8fa2bb59acdd867c7fa633fe95f703531e13d69/node/censor-with-redact/src/utils.js#L23-L25
gotcha thank you!!
how versatile
are the build commands
can I customize the image a lot more (like for instance install Poetry) if I add build commands?
maybe best in a separate thread
Recommended threads
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...
- Can't login or deploy functions in Appwr...
Hello, since i updatet to the appwrite cli 6.1.0 i can't login or deploy functions with the cli. When i call the command: "appwrite get account --verbose" i ge...
- Create admin user?
I'm not really sure how this is supposed to work, I installed Appwrite through docker-compose and set it up. When I launched the app and went into it, I created...