appexpress icon indicating copy to clipboard operation
appexpress copied to clipboard

Run Function locally.

Open dimasanwaraziz opened this issue 1 year ago • 2 comments

How can I run this function locally without push to Appwrite first.

dimasanwaraziz avatar May 05 '24 15:05 dimasanwaraziz

Hey @dimasanwaraziz 👋,

  1. If you have a self hosted appwrite instance on your machine then you could push the function there.
  2. If you intend to test the project locally, I do that for tests by creating a pseudo context. Take a look here and here.

Ofc to have a full fledged drop in support to test this without Appwrite, you'd need to extend the headers for the context, which can be seen here.

ItzNotABug avatar May 05 '24 16:05 ItzNotABug

Okay, thank's for your response, I'll discover this first.

dimasanwaraziz avatar May 05 '24 16:05 dimasanwaraziz

@dimasanwaraziz Can this be closed?

ItzNotABug avatar May 20 '24 11:05 ItzNotABug

Yes you can close this case, thanks.

dimasanwaraziz avatar May 20 '24 15:05 dimasanwaraziz