-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🚀 Feature: Reproducible Projects #3449
Comments
Can you clarify what can't be configured? I know a project can't be created via the CLI. From your experience, what else is missing exactly? |
|
You can't set this in the appwrite.json, but it should be doable via a CLI command: https://github.com/appwrite/sdk-for-cli/blob/8fe40a8c7471ab783c8bbabbda9e8d8744324d47/lib/commands/projects.js#L1001.
Would PR appwrite/sdk-generator#484 cover this?
You don't want the appwrite.json to update after updating something in the Appwrite Console, right? |
This seems like it may be related to #491 |
Thanks! I may test it some day.
Well, maybe just allowing to export an appwrite.json in the UI/CLI is enough. |
i think it would be benefitial to have a "single source of truth" (i.e., the |
as per mention, there are many plugins, "packaged projects" as @stnguyen90 called them, clearly with a need to be reproducible, some of which appwrite or the authors potentially can monetize on, even. are there any plans in that direction, Appwrite Premium, or that kind of appstore / plugin store? off the top of my head, i have the following roadmap with my project:
|
I'm not sure of the current progress on this issue. We have been using Appwrite for some time now and we had this issue of (re)creating dev. environments when a new developer joins, or someone wishes to setup the project from scratch. There is considerable amount of time that's spent in just setting up the project, API keys, OAuth etc; The latest CLI does help with syncing the collections and functions but doesn't go beyond that. We ended up creating our own CLI written on top of the Appwrite APIs to manage pretty much every resource Appwrite provides. But the most important feature being able to create a snapshot of the entire config and restoring/syncing it. This has helped us to reproduce the same env. on different machines very quickly - ~60s :) For those of you interested in giving it a try check out Github: https://github.com/TheGallliNetwork/appwrite-cli This snapshots are just json files that are created in the directory where you run the command. It tries not to store any of the API keys that get generated in your system, but uses placeholders and re-creates them on newer systems. The only key that gets stored in the snapshot (in plain text) are the auth keys (Oauth) - so please make sure you are aware of this and don't check-in to public repositories. |
🔖 Feature description
Projects could be managed as simple as managing codes, just like Terraform. By achiving "reproducible", open-source project owner can feel easier to put their backend projects online.
🎤 Pitch
Current CLI is not reproducible, i.e. can not copy-and-paste from dev to production and work. It must be configured over Web UI. This is not that convenient when deploying self-hostable (especially open-source) applications.
So my idea is:
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: