Do you know how we can do ?
why?
I dev locally before upload. So many times, I'm offline. But to deploy function, we need network
If I success deploy one time and that package.json doesn't not change next time, I preferred avoid to reinstall deps
and this is for self-hosted?
For now but After project finish, I will deploy to cloud
how do you deploy?
It's fresh project. I use function to initialize db, collections, ... and test with localhost. After satisfied, I will just change localhost to cloud address and run the functions
It's amazing but run every time function with network slow the process
Consider using something like a local registry
as a proxy
and configure it to cache the packages you need
Nice
Try it, I think it should work
Lmk if it does
Do you need anything else or can this be closed?
[Solved] Cache function deps installation with npm when deployed
Recommended threads
- Can't really use the S3 storage device
hi, I've linked my local MinIO Instance (it's just for testing, not for prod.) to my appwrite instance, when i'm uploading a file it's getting uploaded to the S...
- Next.js SSR Site Times Out on First Visi...
Hey everyone, I'm running a Next.js SSR site on a self-hosted Appwrite server (v1.9.0), and I've noticed a strange behavior that I'm hoping someone can help me...
- Appwrite migration stuck on pending
Migration an existing self hosted 1.9.0 to a new VPS tuning self hosted 1.9.0.. import data recognises the api url, project id and api and then when I create, i...