Back

[Solved] Custom run command for functions?

  • 0
  • Functions
Binyamin
5 Oct, 2023, 18:40

What is your PR?

TL;DR
User is asking for help on custom run commands for functions. They mention that subdomain functions don't work with Gitpod and they have checked the environment variables, execute access, and entry point. They provide a link to a blank page where the code is deployed as an Appwrite function. They mention trying CLI and creating an Appwrite function using Deno, but couldn't find any templates for Deno. They suggest looking at other templates or Appwrite documentation. They mention that the same setup works on Deno playground and localhost. There are also other issues with the code. They provide another link to a blank page and mention that the
Drake
5 Oct, 2023, 18:42

maybe remove this then?

Cossale
5 Oct, 2023, 18:44

then my build will complete but not run

Drake
5 Oct, 2023, 18:44

there are also other things wrong with your code

Cossale
5 Oct, 2023, 18:44

its just a blank page

Cossale
5 Oct, 2023, 18:44

same setup works on deno playground and localhost

Drake
5 Oct, 2023, 18:44

refer to the other template and/or the Appwrite docs

Cossale
5 Oct, 2023, 18:44
Drake
5 Oct, 2023, 18:44

no. deno playground is not the same as appwrite functions

Cossale
5 Oct, 2023, 18:45

there are none for deno

Drake
5 Oct, 2023, 18:45

look harder

Cossale
5 Oct, 2023, 18:46

i know about starter but it cant be deployed with deno

Cossale
5 Oct, 2023, 18:46

i have few ideas. let me try

Drake
5 Oct, 2023, 18:46

because it is an appwrite function. you are creating an appwrite function

Cossale
6 Oct, 2023, 18:25

tried using cli now as well

Cossale
6 Oct, 2023, 18:25

just a blank page

Cossale
6 Oct, 2023, 18:25

code is approved by maintainer as well

Cossale
6 Oct, 2023, 18:26

double checked envs, execute access and entry point

Drake
6 Oct, 2023, 18:30

subdomain functions don't work with gitpod

Cossale
6 Oct, 2023, 18:31

thanks. should be in docs πŸ™‚

Cossale
6 Oct, 2023, 20:32

Thank you! finally managed to work

Cossale
6 Oct, 2023, 20:43

[Solved] Custom run command for functions?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more