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
- is `account.get()` safe to be used in th...
I want to user's `id` for authentication. However, a while ago I was told in this server not to use `account.get()` and instead add user preferences for that us...
- Appwrite console is too heavy
The Appwrite console is too heavy And all of my services broken Any support , please
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...