If I already have production project on server , and I keep working on development then what is the best way to keep the production server updates from the local development
To keep production data on updating
Hi - please see this about production: https://appwrite.io/docs/production
let me know your follow up questions
can you make it clear
it's not back up
but updating the new version from dev to pro env
I think what @Suiii means is a requirement of staging area sort of thing for continuous development (local in this instance) where any change does not affect the production instance until and unless it is published / released to production. More like syncing/pushing local changes to production server.
I believe there was an issue for this but I couldn't exactly find it.
For now, it seems you'll have to manually make changes from local to prodn (afaik).
So we would have to have a local setup and manually update prod with the new changes right
Thank you , exactly what you are saying
How does manual work ? Back up and restore ?
It makes sense to have local dev instance for testing before publishing to production
The problem im having is keeping both dev (local) and prod in sync
what is your workflow
I dont have a workflow yet, thats the problem
I just have one instance, that is prod
Since im not live yet, I can just wipe data, but once I go live im not sure how to handle dev and prod
The only plausible way I can see right now is versioning the appwrite - folder (without .env, this you should copy manually) and manually apply all changes to prod once tested in dev. This means you'd have to manually recreate e.g. your functions on prod with the same id (!)
Awww that’s quite hustle.
long term, i recommend maintaining a folder of migration scripts that use the server sdk to manage your project.
I upvote it cause Appwrite lacks a real environment strategy
You have to do everything by hand (or via scripts), not the best for maintenance, collaborative work, CI/CD, etc.
just having a JSON (or other) export of the whole appwrite configuration would be a good thing
I've released a library I'm using to sync two appwrite instances, I would appreciate any feedback
any update so far?
Recommended threads
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- How to use Sites on selfhosted appwrite
whenever I try to create a site even with template it says 404 nginx error