
i did ctrl+c and did sudo docker compose up

should be enough right?

Yes

You can run docker compose up -d
adding the -d
will let it run in the background

Yeah but since im chaning a lot I prefer just running it in non detached mode and ctrl+c it

Just for development right now

Can you try to deploy it using
appwrite deploy function
?

btw, unrelated, but you shouldn't really be using sudo
with docker. perhaps you missed the post-install steps: https://docs.docker.com/engine/install/linux-postinstall/

Im a bit confused, I have a lot of duplicates of my functions, can I remove them somehow? When I run appwrite deploy function
i see some functions with the same name, but they are neither in the folder nor does the appwrite console show them


Or maybe im not understand what a deployment is

uhh that all comes from your appwrite.json

When doing this, I get no output

You don't get this?

Yes I do but after selcting my function nothing happens

I think

You select with space? then hit enter?

oh yeah didnt hit space,
ℹ Info Deploying function hello_world ( 6421fc62827da9b87062 ) ℹ Info Ignoring files using configuration from appwrite.json ✓ Success Deployed hello_world ( 6421fc62827da9b87062 )

👍

Soo.. what can I do with this now?

That's it You function has been deployed

Now you can run it through:
- Direct execution call
- Event triggering
- Planned cronjob

Ah I can execute it cool so deploying a function means enabling it? Now my app could use this function?

Oh yeah okay cool 😄

You can check the status of it and other stuff in the Appwrite console
Recommended threads
- Server Error when Pushing a Function
Get this ambiguous error when trying to push my function, it's TypeScript using NodeJS 18 ``` ? Which functions would you like to push? get-grades (get-grades)...
- 503 Timeout when Updating or Upserting D...
Hey I’m running into an issue when trying to update or upsert a row in Appwrite. The request hangs for a while and then throws this error: ``` AppwriteException...
- Hola equipo de soporte,
Hola equipo de soporte, Estoy desarrollando una Function en Appwrite Cloud con Node.js 22 y el siguiente package.json: { "name": "upload-whitelist", "type"...
