#[SOLVED] Are There Appwrite Profiles?

6 messages · Page 1 of 1 (latest)

quiet locust
#

I have 2 projects in my organization. One is used as my staging environment and one is used as my prod environment.

When I initialize an Appwrite project, I get my appwrite.json with one level of data. Is there a way to configure it such that I can have more flexibility in what Appwrite is targeting?

For example, having a payload

"env":
{ "staging": {
    "projectId": "12345",
    "projectName": "App Staging"
   },
   "prod": {
      "projectId": "12ABC",
      "projectName": "App"
   }
}
"default": "staging"

and having the ability to run CLI commands like this:
appwrite functions createDeployment <stuff> --profile staging

I'm not necessarily proposing the implemntation details. This is just referencing what AWS CLI does when you have multiple roles.

Is there something that exists that can handle this?

midnight token
quiet locust
#

That's a great workaround. Thanks!

neon mist
midnight token
neon mist