Back

[SOLVED] how to setup environment programmatically

  • 0
  • General
  • Cloud
ropi95
1 Jan, 2024, 00:25

Hi Appwrite Team,

Can Appwrite setup the environment programmatically, for examples i have 3 environment there are development, staging, and production. I want to setup all environment automatically base on script (maybe by API), so all environment are same configuration.

Thank you

TL;DR
The user wants to know how to set up the Appwrite environment programmatically for multiple environments (development, staging, and production) with the same configuration. One user suggests using the Appwrite CLI `appwrite init` and `appwrite deploy` for the initial setup, but warns that `appwrite deploy` overwrites data and is not suitable for updates.
ideclon
1 Jan, 2024, 00:37

For initial setup you can use the CLI appwrite init and appwrite deploy to set up the environment (https://appwrite.io/docs/tooling/command-line/deployment). But for updating, that doesn't really work, as appwrite deploy overwrites any data.

Drake
1 Jan, 2024, 21:19

[SOLVED] how to setup environment programmatically

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more