#Multiple instances of same Project

12 messages · Page 1 of 1 (latest)

muted solar
#

I created an open-source project which is using Appwrite as a backend. I am using multiple instances that acts as development, staging and production environment. But everytime I do the change in one environment instance, I have to ship it manually to other instances. Is there a way to automate it?

Also need a system with which, other contributors can also migrate the configuration of the instance to their own Appwrite cloud account for developing features.

#

Multiple instances of same Project

wooden ivy
#

This wouldn’t really help you with moving between your own projects, as appwrite deploy recreates the resources from scratch - so you’d lose all data in the database, storage bucket, etc

#

Another option (for yourself) is the Migration feature, which does keep all data when moving around.

#

There’s also a planned backups feature for some point in the future, which would allow you to export a Project to some kind of backup file, which could then be imported somewhere else. But that’s not really even at planning stage yet.

#

The best option you really have (right now) is to use appwrite deploy to create new instances of a project for new contributors, and to build your own migration scripts to help you move around between your own Projects.

shell lagoon
#

Or write your own scripts that use a server SDK to perform any schema upgrades

wooden ivy
shell lagoon
muted solar
#

are there any articles or tutorials which I can follow?

indigo sail
# muted solar I created an open-source project which is using Appwrite as a backend. I am usin...

I have an issue similar to yours, still haven't figured out a smart way to sync functions especially the ones I created via the Appwrite Console UI back to an appwrite.json file, but the way I found to seamlessly apply database schema changes across environment was using these scripts which I made available to the community https://www.npmjs.com/package/@franciscokloganb/appwrite-database-migration-tool; Hope it helps you at least with that part.