Rank 2: Process
i did ctrl+c and did sudo docker compose up
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 2: Process
i did ctrl+c and did sudo docker compose up
Rank 2: Process
should be enough right?
Rank 7: Quantum Computer
Yes
Rank 7: Quantum Computer
You can run docker compose up -d adding the -d will let it run in the background
Rank 2: Process
Yeah but since im chaning a lot I prefer just running it in non detached mode and ctrl+c it
Rank 2: Process
Just for development right now
Rank 7: Quantum Computer
Can you try to deploy it using
appwrite deploy function
?
Admin
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/
Rank 2: Process
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
Rank 2: Process
Rank 2: Process
Or maybe im not understand what a deployment is
Admin
uhh that all comes from your appwrite.json
Rank 2: Process
When doing this, I get no output
Rank 7: Quantum Computer
You don't get this?
Rank 2: Process
Yes I do but after selcting my function nothing happens
Rank 2: Process
I think
Rank 7: Quantum Computer
You select with space? then hit enter?
Rank 2: Process
oh yeah didnt hit space,
ℹ Info Deploying function hello_world ( 6421fc62827da9b87062 )
ℹ Info Ignoring files using configuration from appwrite.json
✓ Success Deployed hello_world ( 6421fc62827da9b87062 )
Rank 7: Quantum Computer
👍
Rank 2: Process
Soo.. what can I do with this now?
Rank 7: Quantum Computer
That's it
You function has been deployed
Rank 7: Quantum Computer
Now you can run it through:
Rank 2: Process
Ah I can execute it cool so deploying a function means enabling it? Now my app could use this function?
Rank 2: Process
Oh yeah okay cool 😄
Rank 7: Quantum Computer
You can check the status of it and other stuff in the Appwrite console