Skip to content
Back

How can local functions be developed without starter templates?

  • 0
  • Self Hosted
  • Functions
Rockafella
21 Mar, 2025, 16:16

Hi there, I'm new to Appwrite serverless functions and could use some help developing serverless functions on a self-hosted Appwrite instance. Appwrite is running fine,and I've got the CLI installed, but I can't find a lot of documentation about locally deployed functions. I would like to use recent runtimes for Dart (3.3 or 3.5) and I understand I have to change the environment variables for that. This was mentioned in the Github repo. I think I can get that working. The problem is that git is a real pain to install on my setup and whenever I try to init a function, it gives a git error because it's trying to download starter templates. How can I create and deploy a function completely locally without requiring git for the setup? Sorry if I come across as newbie (which I am regarding functions 😅 ), but can anyone explain this step by step? Thanks in advance for any help.

TL;DR
Developers are seeking help to develop local functions on a self-hosted Appwrite instance without using starter templates. They are facing issues with Git dependencies and want to know how to create and deploy functions locally without Git. The user also wants to use the Dart runtime. The solution involves modifying environment variables to use the desired Dart runtime, avoiding Git-related errors during function initialization.
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