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
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Bug Report: Appwrite Console UI Issue on...
Steps to Reproduce: - Navigate to any collection page in the Appwrite console UI. - Open the menu and click on "Create Collection." - Observe that the dialog to...
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...